This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author marco.buttu
Recipients BreamoreBoy, Todd.Rovito, docs@python, eric.araujo, eric.smith, flox, gosella, kisielk, marco.buttu, mark.dickinson, mrabarnett, rhettinger, terry.reedy
Date 2016-05-27.06:45:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The error message is misleading:

>>> s = '{names[-1]} loves {0[1]}'
>>> s.format(('C', 'Python'), names=('Dennis', 'Guido'))
Traceback (most recent call last):
TypeError: tuple indices must be integers or slices, not str
Date User Action Args
2016-05-27 06:45:13marco.buttusetrecipients: + marco.buttu, rhettinger, terry.reedy, mark.dickinson, eric.smith, kisielk, eric.araujo, mrabarnett, flox, docs@python, gosella, BreamoreBoy, Todd.Rovito
2016-05-27 06:45:13marco.buttusetmessageid: <>
2016-05-27 06:45:13marco.buttulinkissue7951 messages
2016-05-27 06:45:13marco.buttucreate