Commit 87c8d7e4 by Steven Bird

Pretty printing fix, cf #804

parent 755ff079
...@@ -41,7 +41,7 @@ tree object to one of several standard tree encodings: ...@@ -41,7 +41,7 @@ tree object to one of several standard tree encodings:
There is also a fancy ASCII art representation: There is also a fancy ASCII art representation:
>>> tree.pprint() >>> tree.pretty_print()
s s
________|_____ ________|_____
| vp | vp
...@@ -52,7 +52,7 @@ There is also a fancy ASCII art representation: ...@@ -52,7 +52,7 @@ There is also a fancy ASCII art representation:
| | | | | | | | | |
the dog chased the cat the dog chased the cat
>>> tree.pprint(unicodelines=True, nodedist=4) >>> tree.pretty_print(unicodelines=True, nodedist=4)
s s
┌──────────────┴────────┐ ┌──────────────┴────────┐
│ vp │ vp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment