diff options
author | Facundo Batista <facundobatista@gmail.com> | 2008-06-21 17:43:56 (GMT) |
---|---|---|
committer | Facundo Batista <facundobatista@gmail.com> | 2008-06-21 17:43:56 (GMT) |
commit | 2da91c375b095a452dd1e81962983e89e3fd0d07 (patch) | |
tree | 833230da7671d829dd39742984e524bf046eba10 /Doc/library/pprint.rst | |
parent | 8e1c52ac0e551505f0edb4aad2774c37e1d93ea5 (diff) | |
download | cpython-2da91c375b095a452dd1e81962983e89e3fd0d07.zip cpython-2da91c375b095a452dd1e81962983e89e3fd0d07.tar.gz cpython-2da91c375b095a452dd1e81962983e89e3fd0d07.tar.bz2 |
Fixed issue #2888. Now the behaviour of pprint when working with nested
structures follows the common sense (and works like in 2.5 and 3.0).
Diffstat (limited to 'Doc/library/pprint.rst')
-rw-r--r-- | Doc/library/pprint.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/pprint.rst b/Doc/library/pprint.rst index c0bedf5..7bcb3f1 100644 --- a/Doc/library/pprint.rst +++ b/Doc/library/pprint.rst @@ -56,7 +56,7 @@ The :mod:`pprint` module defines one class: >>> stuff.insert(0, stuff[:]) >>> pp = pprint.PrettyPrinter(indent=4) >>> pp.pprint(stuff) - [ [ 'spam', 'eggs', 'lumberjack', 'knights', 'ni'], + [ ['spam', 'eggs', 'lumberjack', 'knights', 'ni'], 'spam', 'eggs', 'lumberjack', |