mirror of
https://github.com/davidhalter/parso.git
synced 2026-02-22 17:48:47 +08:00
For now the normalizer just does something stupid. Removing the whitespace.
This commit is contained in:
@@ -167,7 +167,7 @@ class NodeOrLeaf(object):
|
||||
try:
|
||||
children = self.children
|
||||
except AttributeError:
|
||||
return normalizer(self)
|
||||
return normalizer.normalize(self)
|
||||
else:
|
||||
return ''.join(child.normalize(normalizer) for child in children)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user