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

Martin Panter report at bugs.python.org
Fri Dec 4 20:23:11 EST 2015


Martin Panter added the comment:

Changes in throw-3x.v2.patch:

* Split into two signatures
* Added parallel coroutine.throw(value) signature
* *Value* should be an exception instance; drop mentioning other options
* Default value is instantiated from *type*
* __traceback__ can be cleared
* Dropped the example
* Update generator and coroutine doc strings with double signatures

----------
Added file: http://bugs.python.org/file41245/throw-3x.v2.patch

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


More information about the docs mailing list