TypeError: iterable argument required

Chris Angelico rosuav at gmail.com
Sat Apr 2 15:31:35 EDT 2011


2011年4月3日 MRAB <python at mrabarnett.plus.com>:
> I can't see what the "mail = None, comment = None" is meant to be.

If this is to reset the two variables after inserting into the
database, you may want to use either:
mail = None; comment = None # semicolon not comma
or
mail = comment = None # chaining assignment
Is that the line with the error, though?
Chris Angelico


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /