mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-22 12:18:29 +08:00
Remove old indent/dedent usages. Now they are not needed anymore.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user