Removed extra parameter that didn't help.

This commit is contained in:
SET 2020-08-19 20:58:41 -03:00
parent 1c95a44d58
commit ad0d2d5dcd
1 changed files with 2 additions and 2 deletions

View File

@ -49,10 +49,10 @@ class BaseMacroExpander(NodeTransformer):
lineno=target.lineno) lineno=target.lineno)
copy_location(dummy, target) copy_location(dummy, target)
expansion.insert(1, dummy) expansion.insert(1, dummy)
expansion = self._visit_expansion(expansion, target, syntax) expansion = self._visit_expansion(expansion, target)
return expansion return expansion
def _visit_expansion(self, expansion, target, syntax): def _visit_expansion(self, expansion, target):
""" """
Ensures the macro expansions into None (deletions), other nodes or Ensures the macro expansions into None (deletions), other nodes or
list of nodes are expanded too. list of nodes are expanded too.