diff Doc/api/refcounts.dat @ 38085:fe29398f48c9 legacy-trunk

Documentation bug: PySet_Pop() returns a new reference (because the caller becomes the owner of that reference).
author Armin Rigo <arigo@tunes.org>
date Tue, 02 May 2006 19:52:32 +0000
parents acce040e0a1a
children 66281488e902
line wrap: on
line diff
--- a/Doc/api/refcounts.dat	Tue May 02 19:47:52 2006 +0000
+++ b/Doc/api/refcounts.dat	Tue May 02 19:52:32 2006 +0000
@@ -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:::