Mercurial > cpython-lru_cache-weakref
diff Doc/api/refcounts.dat @ 35361:66057d550628 legacy-trunk
Fix PySet_Pop() notes.
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Sun, 21 Aug 2005 00:08:36 +0000 |
| parents | d7f39e6208ba |
| children | fa69f0fa36fe |
line wrap: on
line diff
--- a/Doc/api/refcounts.dat Sat Aug 20 23:52:30 2005 +0000 +++ b/Doc/api/refcounts.dat Sun Aug 21 00:08:36 2005 +0000 @@ -1021,9 +1021,8 @@ 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:
