summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2005-08-21 00:08:36 (GMT)
committerRaymond Hettinger <python@rcn.com>2005-08-21 00:08:36 (GMT)
commit763824964669d1e8837d16dc91b10c26da32ea52 (patch)
tree42e6eeb75a058c6d4dc9f7976e1f3ab790d8dd11
parent0cbf400419ecf8784972c37c706463b630ca3e41 (diff)
downloadcpython-763824964669d1e8837d16dc91b10c26da32ea52.zip
cpython-763824964669d1e8837d16dc91b10c26da32ea52.tar.gz
cpython-763824964669d1e8837d16dc91b10c26da32ea52.tar.bz2
Fix PySet_Pop() notes.
-rw-r--r--Doc/api/refcounts.dat3
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: