how do you pronounce 'tuple'?
Tim Hochberg
tim.hochberg at ieee.org
Tue Feb 14 00:26:30 EST 2006
Erik Max Francis wrote:
> Roy Smith wrote:
>
>
>>A more interesting question is what do you call ()? A none-tuple?
>
>
> Yeah, that's at the point where it _really_ departs from anything
> remotely mathematical. Don't think I've ever heard the occasion to talk
> about 0-tuples in any context, though, so I don't think it's something
> we need to worry about. I'm sure you'd just call them "empty tuples" or
> "0-tuples" and move on :-).
>
There's only one tuple of length zero, so I just call it "Spot".
>>> a = ()
>>> b = ()
>>> a is b
True
More information about the Python-list
mailing list