You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Handle walrus operator
Or rather set precedence on call_stmt and expr_stmt Adjust pytest test_single_compile so it works now
This commit is contained in:
@@ -2710,7 +2710,8 @@ def code_deparse(
|
||||
elif compile_mode == "exec":
|
||||
expected_start = "stmts"
|
||||
elif compile_mode == "single":
|
||||
expected_start = "single_start"
|
||||
# expected_start = "single_start"
|
||||
expected_start = None
|
||||
else:
|
||||
expected_start = None
|
||||
if expected_start:
|
||||
|
Reference in New Issue
Block a user