[Python-checkins] r45863 - python/trunk/Doc/api/refcounts.dat

armin.rigo python-checkins at python.org
Tue May 2 21:52:33 CEST 2006


Author: armin.rigo
Date: Tue May  2 21:52:32 2006
New Revision: 45863

Modified:
   python/trunk/Doc/api/refcounts.dat
Log:
Documentation bug: PySet_Pop() returns a new reference (because the
caller becomes the owner of that reference).



Modified: python/trunk/Doc/api/refcounts.dat
==============================================================================
--- python/trunk/Doc/api/refcounts.dat	(original)
+++ python/trunk/Doc/api/refcounts.dat	Tue May  2 21:52:32 2006
@@ -1147,7 +1147,7 @@
 PySet_New:PyObject*::+1:
 PySet_New:PyObject*:iterable:0:
 
-PySet_Pop:PyObject*::0:or returns NULL and raises KeyError if set is empty
+PySet_Pop:PyObject*::+1:or returns NULL and raises KeyError if set is empty
 PySet_Pop:PyObject*:set:0:
 
 PySet_Size:int:::


More information about the Python-checkins mailing list