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 fossilet
Recipients docs@python, fossilet
Date 2012-10-17.12:48:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350478130.47.0.20528799459.issue16265@psf.upfronthosting.co.za>
In-reply-to
Content
http://docs.python.org/py3k/tutorial/inputoutput.html#fancier-output-formatting

In the last but second code sample in that section, the code is not correctly colored and cannot be correctly collapsed.

Expanded:

>>> table = {'Sjoerd': 4127, 'Jack': 4098, 'Dcab': 8637678}
>>> print ('Jack: {0[Jack]:d}; Sjoerd: {0[Sjoerd]:d}; '
...        'Dcab: {0[Dcab]:d}'.format(table))
Jack: 4098; Sjoerd: 4127; Dcab: 8637678

Collapsed:

table = {'Sjoerd': 4127, 'Jack': 4098, 'Dcab': 8637678}
print('Jack: {0[Jack]:d}; Sjoerd: {0[Sjoerd]:d}; '
History
Date User Action Args
2012-10-17 12:48:50fossiletsetrecipients: + fossilet, docs@python
2012-10-17 12:48:50fossiletsetmessageid: <1350478130.47.0.20528799459.issue16265@psf.upfronthosting.co.za>
2012-10-17 12:48:50fossiletlinkissue16265 messages
2012-10-17 12:48:50fossiletcreate