Remove old indent/dedent usages. Now they are not needed anymore.

This commit is contained in:
Dave Halter
2016-09-11 13:20:24 +02:00
parent 1226962922
commit 7667cba17e
5 changed files with 5 additions and 43 deletions

View File

@@ -27,7 +27,7 @@ def deep_ast_copy(obj, parent=None, new_elements=None):
for child in obj.children:
typ = child.type
if typ in ('newline', 'operator', 'keyword', 'number', 'string',
'indent', 'dedent', 'endmarker', 'error_leaf'):
'endmarker', 'error_leaf'):
# At the moment we're not actually copying those primitive
# elements, because there's really no need to. The parents are
# obviously wrong, but that's not an issue.