Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
Next Next commit
Lint
  • Loading branch information
JukkaL committed Apr 20, 2026
commit 116866d127f0f085c1284b7db9943e9d93426c57
3 changes: 1 addition & 2 deletions mypy/semanal.py
Original file line number Diff line number Diff line change
Expand Up @@ -720,8 +720,7 @@ def refresh_top_level(self, file_node: MypyFile) -> None:
n.end_line = 1
n.end_column = 0
self.fail(
"--allow-redefinition-old and --allow-redefinition should not be used together",
n,
"--allow-redefinition-old and --allow-redefinition should not be used together", n
)
self.recurse_into_functions = False
self.add_implicit_module_attrs(file_node)
Expand Down