- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
Message266481
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 | <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:13 | marco.buttu | set | recipients: + 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:13 | marco.buttu | set | messageid: <1464331513.62.0.216689365166.issue7951@psf.upfronthosting.co.za> |
| 2016-05-27 06:45:13 | marco.buttu | link | issue7951 messages |
| 2016-05-27 06:45:13 | marco.buttu | create | |

