Commit 203495aa authored by Eckhart Arnold's avatar Eckhart Arnold

small adjustments

parent 700c2983
......@@ -438,6 +438,9 @@ class Node(
src: The source text or `None`. In case the source text is
given the position of the element in the text will be
reported as line and column.
compact: If True a compact representation is returned where
brackets are ommited and only the indentation indicates the
tree structure.
lB, rB, D = ('', '', 1) if compact else ('(', '\n)', 0)
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