You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
2.4 tolerance (remove annotations)
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
# Copyright (c) 2020 Rocky Bernstein
|
||||
|
||||
|
||||
def pop_return_check(
|
||||
self, lhs: str, n: int, rule, ast, tokens: list, first: int, last: int
|
||||
) -> bool:
|
||||
def pop_return_check(self, lhs, n, rule, ast, tokens, first, last):
|
||||
# If the first instruction of return_expr (the instruction after POP_TOP) is
|
||||
# has a linestart, then the POP_TOP was probably part of the previous
|
||||
# statement, such as a call() where the return value is discarded.
|
||||
|
Reference in New Issue
Block a user