diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2008-10-03 16:29:19 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2008-10-03 16:29:19 (GMT) |
commit | d7b7dde98e38f8ccbbe7cca736fd3b31ffb190f6 (patch) | |
tree | 3c90c8fe1678c2ce0dad95c61f13b9fccc48ecf8 /Objects | |
parent | b7df32e6205f0b4267f2937d6990279d83b0ed5d (diff) | |
download | cpython-d7b7dde98e38f8ccbbe7cca736fd3b31ffb190f6.zip cpython-d7b7dde98e38f8ccbbe7cca736fd3b31ffb190f6.tar.gz cpython-d7b7dde98e38f8ccbbe7cca736fd3b31ffb190f6.tar.bz2 |
Mention exception in docstring
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/setobject.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c index fbbdf6e..075f8e7 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c @@ -754,7 +754,8 @@ set_pop(PySetObject *so) return key; } -PyDoc_STRVAR(pop_doc, "Remove and return an arbitrary set element."); +PyDoc_STRVAR(pop_doc, "Remove and return an arbitrary set element.\n\ +Raises KeyError if the set is empty."); static int set_traverse(PySetObject *so, visitproc visit, void *arg) |