summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/lib2to3/pgen2/grammar.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/lib2to3/pgen2/grammar.py b/Lib/lib2to3/pgen2/grammar.py
index 52cdbc0..321e25e 100644
--- a/Lib/lib2to3/pgen2/grammar.py
+++ b/Lib/lib2to3/pgen2/grammar.py
@@ -139,12 +139,12 @@ class Grammar(object):
def _make_deterministic(top):
if isinstance(top, dict):
- return collections.OrderedDict(
- sorted(((k, _make_deterministic(v)) for k, v in top.items())))
+ return collections.OrderedDict(
+ sorted(((k, _make_deterministic(v)) for k, v in top.items())))
if isinstance(top, list):
- return [_make_deterministic(e) for e in top]
+ return [_make_deterministic(e) for e in top]
if isinstance(top, tuple):
- return tuple(_make_deterministic(e) for e in top)
+ return tuple(_make_deterministic(e) for e in top)
return top