[docs] [issue14911] generator.throw() documentation inaccurate

Kristján Valur Jónsson report at bugs.python.org
Tue Feb 4 10:45:12 CET 2014


Kristján Valur Jónsson added the comment:

Note that the docstring does not match the doc:
PyDoc_STRVAR(throw_doc,
"throw(typ[,val[,tb]]) -> raise exception in generator,\n\
return next yielded value or raise StopIteration.");

Should I change the docstring too?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14911>
_______________________________________


More information about the docs mailing list