[Python-checkins] python/dist/src/Doc/api refcounts.dat,1.45,1.46

rhettinger@users.sourceforge.net rhettinger at users.sourceforge.net
Sun Aug 21 02:08:46 CEST 2005


Update of /cvsroot/python/python/dist/src/Doc/api
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31857

Modified Files:
	refcounts.dat 
Log Message:
Fix PySet_Pop() notes.

Index: refcounts.dat
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/refcounts.dat,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- refcounts.dat	20 Aug 2005 23:52:30 -0000	1.45
+++ refcounts.dat	21 Aug 2005 00:08:36 -0000	1.46
@@ -1021,9 +1021,8 @@
 PySet_Discard:PyObject*:set:0:
 PySet_Discard:PyObject*:key:-1:no effect if key not found
 
-PySet_Pop:PyObject*::+1:or NULL if key not found
+PySet_Pop:PyObject*::0:or returns NULL and raises KeyError if set is empty
 PySet_Pop:PyObject*:set:0:
-PySet_Pop:PyObject*:key:-1:no effect if key not found
 
 PySet_Size:int:::
 PySet_Size:PyObject*:anyset:0:



More information about the Python-checkins mailing list