[Tutor] Dictionaries of Tuples of Strings

Terry Carroll carroll at tjc.com
Fri Feb 23 22:45:54 CET 2007

On Fri, 23 Feb 2007, Terry Carroll wrote:

> You can also create an empty tuple, but I think only through the tuple() 
> method:
> >>> t=tuple()
> Any other way to create an empty tuple? 

Answering my own question:

>>> t=()
>>> type(t)
<type 'tuple'>

More information about the Tutor mailing list