Marius Bernklev wrote:

* [EMAIL PROTECTED]


Perhaps ()'s are a good idea for some other reason I don't know?


One-element tuples are written as (4,).

And, even there, the parenthesis is only required when it would otherwise be embiguous:

 >>> x = 4,
 >>> x
(4,)
 >>> print 4,
4
 >>>

regards
 Steve
--
Steve Holden               http://www.holdenweb.com/
Python Web Programming  http://pydish.holdenweb.com/
Holden Web LLC      +1 703 861 4237  +1 800 494 3119
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to