converting a nested try/except statement into try/except/else
Boris Borcic
bborcic at gmail.com
Thu Aug 10 17:33:25 EDT 2006
John Salerno wrote:
> In this case the method must return False, because it's a wxPython
> method that needs a True or False value. If it doesn't, the program will
> continue even after the error message.
Just as it should do if the method returns True and no error message is produced
if I understand you well... Are you sure ? I don't know wxPython, but this
strikes me as surprisingly unpythonic behavior.
More information about the Python-list
mailing list