summaryrefslogtreecommitdiffstats
path: root/Doc/api
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2006-05-02 19:52:32 (GMT)
committerArmin Rigo <arigo@tunes.org>2006-05-02 19:52:32 (GMT)
commita71fd71c3e994089f11d78f09ea844c14727c1d2 (patch)
tree866ae2e9ef9eee580a5fc1e53c22d2b02bcc3fb4 /Doc/api
parentda5b701aeef755f2317a41e36cc950cfdc0c95cb (diff)
downloadcpython-a71fd71c3e994089f11d78f09ea844c14727c1d2.zip
cpython-a71fd71c3e994089f11d78f09ea844c14727c1d2.tar.gz
cpython-a71fd71c3e994089f11d78f09ea844c14727c1d2.tar.bz2
Documentation bug: PySet_Pop() returns a new reference (because the
caller becomes the owner of that reference).
Diffstat (limited to 'Doc/api')
-rw-r--r--Doc/api/refcounts.dat2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/api/refcounts.dat b/Doc/api/refcounts.dat
index 7bba011..ab6d865 100644
--- a/Doc/api/refcounts.dat
+++ b/Doc/api/refcounts.dat
@@ -1147,7 +1147,7 @@ PySet_Discard:PyObject*:key:-1:no effect if key not found
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:::