tuple syntax ',' (ending in comma?)
John Salerno
johnjsal at NOSPAMgmail.com
Tue Apr 4 09:53:01 EDT 2006
Michael Yanowitz wrote:
> I am just confused by the syntax. I am used to a comma meaning that there
> should be another parameter after the comma and if no additional parameter
> the comma would not be necessary.
But isn't it incorrect to think in terms of 'parameters' when referring
to tuples? Tuples just contain elements, not parameters, so it might
help not to think of it as function call syntax.
More information about the Python-list
mailing list