diff options
author | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org> | 2016-09-08 00:48:22 (GMT) |
---|---|---|
committer | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org> | 2016-09-08 00:48:22 (GMT) |
commit | 627b7556e82f9a4afbc2221a8c273a74ccc7d8b3 (patch) | |
tree | c75200908110644df005467245764575bc4cbf84 | |
parent | 08c24c79a55df67c782c65c7c2babec933475507 (diff) | |
parent | 97191618580e28a124f7489ca79eff76e31bdb3d (diff) | |
download | cpython-627b7556e82f9a4afbc2221a8c273a74ccc7d8b3.zip cpython-627b7556e82f9a4afbc2221a8c273a74ccc7d8b3.tar.gz cpython-627b7556e82f9a4afbc2221a8c273a74ccc7d8b3.tar.bz2 |
Fix indentation (reindent.py).
-rw-r--r-- | Lib/lib2to3/pgen2/grammar.py | 8 |
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 |