Skip to content

Commit

Permalink
Avoid an evil operation, I guess
Browse files Browse the repository at this point in the history
  • Loading branch information
A5rocks authored May 24, 2024
1 parent c1c4b72 commit dc372df
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/trio/_core/_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,6 @@ def __exit__(
# see test_cancel_scope_exit_doesnt_create_cyclic_garbage
# Note: still relevant
del remaining_error_after_cancel_scope, value, _, exc
del sys._getframe().f_locals[LOCALS_KEY_KI_PROTECTION_ENABLED]

def __repr__(self) -> str:
if self._cancel_status is not None:
Expand Down

0 comments on commit dc372df

Please sign in to comment.