diff options
author | Raymond Hettinger <python@rcn.com> | 2005-08-21 00:08:36 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2005-08-21 00:08:36 (GMT) |
commit | 763824964669d1e8837d16dc91b10c26da32ea52 (patch) | |
tree | 42e6eeb75a058c6d4dc9f7976e1f3ab790d8dd11 /Doc | |
parent | 0cbf400419ecf8784972c37c706463b630ca3e41 (diff) | |
download | cpython-763824964669d1e8837d16dc91b10c26da32ea52.zip cpython-763824964669d1e8837d16dc91b10c26da32ea52.tar.gz cpython-763824964669d1e8837d16dc91b10c26da32ea52.tar.bz2 |
Fix PySet_Pop() notes.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/api/refcounts.dat | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/api/refcounts.dat b/Doc/api/refcounts.dat index 5587bf1..f6b00cf 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: |