On 5/3/2012 4:57 PM, nbv4 wrote:
Instead of

class CustomException(Exception):
    pass

how about just

class CustomException(Exception)

How about just:

    class CustomException(Exception): pass

or better yet, using more lines?

--Ned.

(no colon, no 'pass')
I'm sure this has been suggested before, but I couldn't find any...


_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
http://mail.python.org/mailman/listinfo/python-ideas