From 763824964669d1e8837d16dc91b10c26da32ea52 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sun, 21 Aug 2005 00:08:36 +0000 Subject: Fix PySet_Pop() notes. --- Doc/api/refcounts.dat | 3 +-- 1 file changed, 1 insertion(+), 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: -- cgit v0.12