On Mon, May 28, 2012 at 8:44 PM, Terry Reedy <[email protected]> wrote: >>> + except: >>> return None >> >> >> "except Exception" may be better here. > > > Idle's Shell catches all exceptions. I think the attempt to provide an > optional help (a function signature) should too.
Can you explain what this means? You should probably not have a bare except - I'm not sure what IDLE has to do with it. _______________________________________________ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
