summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3
diff options
context:
space:
mode:
authorGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org>2016-09-08 00:48:07 (GMT)
committerGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org>2016-09-08 00:48:07 (GMT)
commit97191618580e28a124f7489ca79eff76e31bdb3d (patch)
treec161f5db72faf05fe7ffa799d33faafe0e778f8c /Lib/lib2to3
parentdd1c638b92ae1552207451c82ed95aa2c1f07201 (diff)
downloadcpython-97191618580e28a124f7489ca79eff76e31bdb3d.zip
cpython-97191618580e28a124f7489ca79eff76e31bdb3d.tar.gz
cpython-97191618580e28a124f7489ca79eff76e31bdb3d.tar.bz2
Fix indentation (reindent.py).
Diffstat (limited to 'Lib/lib2to3')
-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