![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archivehow not use memmove when insert a object in the list
From: kyo guan <kyoguan@gmail.com>
Date: Sun Apr 30 2006 - 03:57:13 CEST
Hi :
python list object like a stl vector, if insert a object in the front or the middle of it,
look at this code ( in python 2.4.3)
static int
if (list_resize(self, n+1) == -1)
if (where < 0) {
Kyo.
|