Why tuple with one item is no tuple

Fuzzyman fuzzyman at gmail.com
Tue Mar 15 17:18:38 CET 2005


('1',) is a tuple... you need the comma to make it a tuple.

regards,

Fuzzy
http://www.voidspace.org.uk/python/index.shtml




More information about the Python-list mailing list