Skip to content

Commit

Permalink
Removed unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Sep 27, 2022
1 parent 2fd8309 commit c20201f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trio/_core/_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ def __enter__(self):
task._activate_cancel_status(self._cancel_status)
return self

def _close(self, exc, collapse=False):
def _close(self, exc):
if self._cancel_status is None:
new_exc = RuntimeError(
"Cancel scope stack corrupted: attempted to exit {!r} "
Expand Down

0 comments on commit c20201f

Please sign in to comment.