Class returning None ?

Cliff Wells clifford.wells at comcast.net
Mon Jan 26 10:27:12 EST 2004


On Mon, 2004-01-26 at 06:33, Aahz wrote:
> In article <mailman.791.1075107363.12720.python-list at python.org>,
> Cliff Wells  <clifford.wells at comcast.net> wrote:
> >
> >from exceptions import Exception
> >class SomeError(Exception): pass
> 
> BTW, there's no need to do this.  ``Exception`` lives in the built-in
> namespace.

Er, explicit is better than implicit?  ;-)

Somehow I never noticed that.

Regards,
Cliff

-- 
So sad, love lies there still
                    -Bauhaus





More information about the Python-list mailing list