2.4 tolerance (remove annotations)

This commit is contained in:
rocky
2024-03-02 05:38:38 -05:00
parent 40e64ba3e0
commit 30463f75d6

View File

@@ -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.