[Python-Dev] PEP 343 question
Raymond Hettinger
raymond.hettinger at verizon.net
Wed Jun 15 11:09:21 CEST 2005
In gen.throw(), are all three arguments required? Or do the value and
traceback Nones need to be listed explicitly?
g.throw(MyException)
or
g.throw(MyException, None, None)
FWIW, I prefer the former. That will make throw() as flexible as the
raise statement.
Raymond
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20050615/bc65f786/attachment.htm
More information about the Python-Dev
mailing list