]> granicus.if.org Git - python/commitdiff
Fix PySet_Pop() notes.
authorRaymond Hettinger <python@rcn.com>
Sun, 21 Aug 2005 00:08:36 +0000 (00:08 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 21 Aug 2005 00:08:36 +0000 (00:08 +0000)
Doc/api/refcounts.dat

index 5587bf17c843fbed325c6ba20277dcfef1510ef9..f6b00cfee06aa52c159f73470cad109047d57d52 100644 (file)
@@ -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: