[Python] Python subtleties

Rob Hudson rob at euglug.net
Thu Sep 21 16:41:48 PDT 2006


In Python, what's the difference between these two:

1) var = ('val')
2) var = ('val',)

Knowing that, is there a difference between these two?

3) var = ('val1', 'val2')
4) var = ('val1', 'val2',)

-Rob


More information about the Python mailing list