[docs] [issue16265] Code sample does not collapse correctly

Yongzhi Pan report at bugs.python.org
Wed Oct 17 14:48:50 CEST 2012

New submission from Yongzhi Pan:


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


>>> 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


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

assignee: docs at python
components: Documentation
messages: 173163
nosy: docs at python, fossilet
priority: normal
severity: normal
status: open
title: Code sample does not collapse correctly
type: behavior
versions: Python 3.2, Python 3.3

Python tracker <report at bugs.python.org>

More information about the docs mailing list