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 dimaq
Recipients
Date 2007-05-04.13:47:32
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
pprint.pprint( [[[[[ ]]]]], depth=0)
AssertionError: depth must be > 0

pprint.pprint( [[[[[ ]]]]], depth=0.5)
[[...]]

pprint.pprint( [[[[[ ]]]]], depth=1)
[[[...]]]

I would like to see the root (that is [...]) with depth=0 (or depth=1 if you insist), either way, [[[...]]] for depth=1 is incorrect.
History
Date User Action Args
2007-08-23 14:53:34adminlinkissue1712742 messages
2007-08-23 14:53:34admincreate