16.12.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

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

small adjustments

parent 700c2983
......@@ -438,6 +438,9 @@ class Node(collections.abc.Sized):
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