[docs] Incorrect Syntax
Mariatta Wijaya
mariatta.wijaya at gmail.com
Mon Dec 4 10:44:32 EST 2017
The example in the documentation works.
It should look like this:
>
> >>> import pprint
> >>> t = [[[['black', 'cyan'], 'white', ['green', 'red']], [['magenta',
> ... 'yellow'], 'blue']]
> ...
> >>> pprint.pprint(t, width=30)
>
Your example does not. It is missing one "]".
Mariatta Wijaya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20171204/5d75a72e/attachment.html>
More information about the docs
mailing list