Skip to content

Commit c20201f

Browse files
committed
Removed unused parameter
1 parent 2fd8309 commit c20201f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trio/_core/_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ def __enter__(self):
475475
task._activate_cancel_status(self._cancel_status)
476476
return self
477477

478-
def _close(self, exc, collapse=False):
478+
def _close(self, exc):
479479
if self._cancel_status is None:
480480
new_exc = RuntimeError(
481481
"Cancel scope stack corrupted: attempted to exit {!r} "

0 commit comments

Comments
 (0)