Skip to content

Commit

Permalink
refactor: review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
15r10nk committed Aug 25, 2024
1 parent d55eb52 commit dc03e8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion executing/_position_node_finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ def known_issues(self, node: EnhancedAST, instruction: dis.Instruction) -> None:
if (
instruction.opname == "COMPARE_OP"
and isinstance(node, ast.UnaryOp)
and isinstance(node.operand,ast.Compare)
and isinstance(node.op, ast.Not)
):
# work around for
Expand Down Expand Up @@ -790,7 +791,7 @@ def node_match(node_type: Union[Type, Tuple[Type, ...]], **kwargs: Any) -> bool:
)
):
# closures
# TODO: better check that this is actualy a closure for a scope of a type variable
# TODO: better check that this is actualy a closure variable
return

if (
Expand Down

0 comments on commit dc03e8c

Please sign in to comment.