From: Armin Rigo Date: Tue, 2 May 2006 19:52:32 +0000 (+0000) Subject: Documentation bug: PySet_Pop() returns a new reference (because the X-Git-Tag: v2.5b1~730 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a71fd71c3e994089f11d78f09ea844c14727c1d2;p=thirdparty%2FPython%2Fcpython.git Documentation bug: PySet_Pop() returns a new reference (because the caller becomes the owner of that reference). --- diff --git a/Doc/api/refcounts.dat b/Doc/api/refcounts.dat index 7bba011d7735..ab6d865b0416 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:::