[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:
"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>

More information about the docs mailing list