Is except: ... pass bad style?

Brandon Craig Rhodes brandon at ten22.rhodesmill.org
Thu Sep 9 15:02:09 EDT 2004


Brandon Craig Rhodes <brandon at ten22.rhodesmill.org> writes:

> ...but in fact intended the first line to be
>     meth = getattr(myobj, method, None)

... where `method' holds the method name, of course.  <sigh>

-- 
Brandon Craig Rhodes   brandon at rhodesmill.org   http://rhodesmill.org/brandon



More information about the Python-list mailing list