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 <1464331513.62.0.216689365166.issue7951@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
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: <1464331513.62.0.216689365166.issue7951@psf.upfronthosting.co.za>
2016-05-27 06:45:13marco.buttulinkissue7951 messages
2016-05-27 06:45:13marco.buttucreate