Documentation bug: PySet_Pop() returns a new reference (because the
caller becomes the owner of that reference).
This commit is contained in:
parent
da5b701aee
commit
a71fd71c3e
|
@ -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:::
|
||||
|
|
Loading…
Reference in New Issue