Changes by Martin Panter vadmium...@gmail.com:
--
resolution: - duplicate
stage: - resolved
status: open - closed
superseder: - generator.throw() documentation inaccurate
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13213
Mark Lawrence added the comment:
@Petri can you propose a patch for this?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13213
___
New submission from Petri Lehtinen pe...@digip.org:
The documentation of generator.throw() gives this signature:
generator.throw(type[, value[, traceback]])
Looking at the code, it accepts the following arguments:
g.throw(ExcType) -- raise ExcType()
g.throw(ExcType, None) -- raise
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13213
___
___
Python-bugs-list