A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2005-June/054230.html below:

[Python-Dev] PEP 343 question

[Python-Dev] PEP 343 question [Python-Dev] PEP 343 questionRaymond 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4