Serhiy Storchaka added the comment:

Here is a patch.

Without patch:

>>> pprint.pprint([[[[[[[[[[0, 0, 0]]*3]]]]]]]], width=21)
[[[[[[[[[[0,
          0,
          0],
         [0,
          0,
          0],
         [0,
          0,
          0]]]]]]]]]]

With patch:

>>> pprint.pprint([[[[[[[[[[0, 0, 0]]*3]]]]]]]], width=21)
[[[[[[[[[[0, 0, 0],
         [0, 0, 0],
         [0,
          0,
          0]]]]]]]]]]

----------
keywords: +patch
stage: needs patch -> patch review
Added file: http://bugs.python.org/file31945/pprint_all_width.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19105>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to