From: Raymond Hettinger Date: Sun, 21 Aug 2005 00:08:36 +0000 (+0000) Subject: Fix PySet_Pop() notes. X-Git-Tag: v2.5a0~1502 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=763824964669d1e8837d16dc91b10c26da32ea52;p=thirdparty%2FPython%2Fcpython.git Fix PySet_Pop() notes. --- diff --git a/Doc/api/refcounts.dat b/Doc/api/refcounts.dat index 5587bf17c843..f6b00cfee06a 100644 --- a/Doc/api/refcounts.dat +++ b/Doc/api/refcounts.dat @@ -1021,9 +1021,8 @@ PySet_Discard:int::: 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: