Skip to content

Commit

Permalink
fix: removed unused verification
Browse files Browse the repository at this point in the history
  • Loading branch information
15r10nk committed Aug 25, 2024
1 parent c4f1862 commit 960dee1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions executing/_position_node_finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -758,12 +758,6 @@ def node_match(node_type: Union[Type, Tuple[Type, ...]], **kwargs: Any) -> bool:
return

if sys.version_info >= (3, 13):
if (
node_match(ast.FunctionDef)
and inst_match("LOAD_CONST")
and node.name == instruction.argval.co_name
):
return

if inst_match("NOP"):
return
Expand Down

0 comments on commit 960dee1

Please sign in to comment.