You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
3.7 test_fstring now works.
This commit is contained in:
@@ -516,7 +516,7 @@ def customize_for_version36(self, version):
|
||||
for expr in node[:-1]:
|
||||
assert expr == "expr"
|
||||
value = self.traverse(expr, indent="")
|
||||
if expr[0].kind.startswith('formatted_value'):
|
||||
if expr[0].kind.startswith("formatted_value"):
|
||||
# remove leading 'f'
|
||||
if value.startswith("f"):
|
||||
value = value[1:]
|
||||
|
Reference in New Issue
Block a user