Skip to content

Commit

Permalink
add some NodeType.block ignore-keys for debug printing
Browse files Browse the repository at this point in the history
  • Loading branch information
pancelor committed Oct 21, 2024
1 parent 366835f commit 7065f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pico_tokenize.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __str__(m):
reprlist = []
for key, val in m.__dict__.items():
if key in ("parent", "children", "idx", "endidx", "vline", "lang", "modified", "source",
"scope", "extra_i", "extra_children"):
"scope", "extra_i", "extra_children", "stmts", "globals", "members"):
continue
reprlist.append("%s=%r" % (key, val))
return "%s(%s)" % (typename(m), ", ".join(reprlist))
Expand Down

0 comments on commit 7065f7d

Please sign in to comment.