[Python-checkins] python/dist/src/Modules collectionsmodule.c, 1.13, 1.14 (original) (raw)

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Wed May 12 16:55:59 EDT 2004


Update of /cvsroot/python/python/dist/src/Modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9217/Modules

Modified Files: collectionsmodule.c Log Message: Make sure "del d[n]" is properly supported. Was necessary because the same method that implements setitem also implements delitem. Also, there were several good use cases (removing items from a queue and implementing Forth style stack ops).

Index: collectionsmodule.c

RCS file: /cvsroot/python/python/dist/src/Modules/collectionsmodule.c,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** collectionsmodule.c 12 Apr 2004 18:10:01 -0000 1.13 --- collectionsmodule.c 12 May 2004 20:55:42 -0000 1.14


*** 354,357 **** --- 354,395 ----

static int


*** 365,368 **** --- 403,409 ---- return -1; }



More information about the Python-checkins mailing list