unparser.py: remove print statements (#45235)

This commit is contained in:
Harmen Stoppels 2024-07-15 21:55:11 +02:00 committed by GitHub
parent c12772e73f
commit d4e6c29f25
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -554,9 +554,7 @@ def visit_FormattedValue(self, node):
def _fstring_JoinedStr(self, node, write):
for value in node.values:
print(" ", value)
meth = getattr(self, "_fstring_" + type(value).__name__)
print(meth)
meth(value, write)
def _fstring_Str(self, node, write):