Class returning None ?

Aahz aahz at
Mon Jan 26 15:33:05 CET 2004

In article <mailman.791.1075107363.12720.python-list at>,
Cliff Wells  <clifford.wells at> wrote:
>from exceptions import Exception
>class SomeError(Exception): pass

BTW, there's no need to do this.  ``Exception`` lives in the built-in
Aahz (aahz at           <*>

"The joy of coding Python should be in seeing short, concise, readable
classes that express a lot of action in a small amount of clear code -- 
not in reams of trivial code that bores the reader to death."  --GvR

More information about the Python-list mailing list