8000 Fix `_thread.interrupt_main` for 3.10+ by max-muoto · Pull Request #12586 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

Fix _thread.interrupt_main for 3.10+ #12586

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Aug 29, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Enforce positional
  • Loading branch information
max-muoto committed Aug 24, 2024
commit c82d534a97c85171f14e535323d31c5d0ee61bb0
2 changes: 1 addition & 1 deletion stdlib/_dummy_thread.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ class RLock(LockType):
def release(self) -> None: ... # type: ignore[override]

if sys.version_info >= (3, 10):
def interrupt_main(signum: signal.Signals = signal.SIGINT) -> None: ...
def interrupt_main(signum: signal.Signals = signal.SIGINT, /) -> None: ...
else:
def interrupt_main() -> None: ...
Loading
0