is parameter an iterable?
Fredrik Lundh
fredrik at pythonware.com
Wed Nov 16 17:10:51 EST 2005
More information about the Python-list mailing list
Wed Nov 16 17:10:51 EST 2005
- Previous message (by thread): is parameter an iterable?
- Next message (by thread): is parameter an iterable?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Steven D'Aprano wrote: > This means we're no longer assuming what the error message will be, > which makes our code a lot more future-proof and implementation-proof: if > some version of Python changes the error string from "iteration over > non-sequence" to something else, the code should continue to work > correctly. Alex has already posted the right way to do this. can you please stop </F>
- Previous message (by thread): is parameter an iterable?
- Next message (by thread): is parameter an iterable?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list