Skip to content

Commit

Permalink
Fix return type of CancelScope.__exit__
Browse files Browse the repository at this point in the history
  • Loading branch information
rsokl committed Aug 9, 2024
1 parent 4d7cb8c commit cfe4e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trio-stubs/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class CancelScope(metaclass=ABCMeta):
exc_type: type[BaseException] | None,
exc_val: BaseException | None,
exc_tb: TracebackType | None,
) -> bool | None: ...
) -> bool: ...
def cancel(self) -> None: ...

@final
Expand Down

0 comments on commit cfe4e42

Please sign in to comment.