nested exceptions?
Just van Rossum
just at xs4all.nl
Sun Apr 21 09:57:10 EDT 2002
In article <a9ufpv$6hb$1 at panix1.panix.com>, aahz at pythoncraft.com (Aahz)
wrote:
> ...and if you're using Python 2.2, write it as
>
> while oid not in objects:
>
>
> Hmmmm.... it occurs to me that those of us teaching Python will need to
> be *very* careful in making sure that people avoid 'in' over lists.
I'm already happy if they don't do
if x in d.keys(): ...
:-)
Just
More information about the Python-list
mailing list