summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3/pygram.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/lib2to3/pygram.py')
-rw-r--r--Lib/lib2to3/pygram.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/lib2to3/pygram.py b/Lib/lib2to3/pygram.py
index f948ee6..49d5cef 100644
--- a/Lib/lib2to3/pygram.py
+++ b/Lib/lib2to3/pygram.py
@@ -29,10 +29,3 @@ class Symbols(object):
python_grammar = driver.load_grammar(_GRAMMAR_FILE)
python_symbols = Symbols(python_grammar)
-
-
-def parenthesize(node):
- return pytree.Node(python_symbols.atom,
- (pytree.Leaf(token.LPAR, "("),
- node,
- pytree.Leaf(token.RPAR, ")")))