mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-07 05:54:02 +08:00
[stdlib] Add interrupt method for multiprocessing.Process (#15064)
This commit is contained in:
@@ -11,7 +11,6 @@ multiprocessing.managers._BaseDictProxy.__or__
|
||||
multiprocessing.managers._BaseDictProxy.__reversed__
|
||||
multiprocessing.managers._BaseDictProxy.__ror__
|
||||
multiprocessing.managers._BaseDictProxy.fromkeys
|
||||
multiprocessing.process.BaseProcess.interrupt
|
||||
|
||||
|
||||
# =========================
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import sys
|
||||
from collections.abc import Callable, Iterable, Mapping
|
||||
from typing import Any
|
||||
|
||||
@@ -20,6 +21,9 @@ class BaseProcess:
|
||||
) -> None: ...
|
||||
def run(self) -> None: ...
|
||||
def start(self) -> None: ...
|
||||
if sys.version_info >= (3, 14):
|
||||
def interrupt(self) -> None: ...
|
||||
|
||||
def terminate(self) -> None: ...
|
||||
def kill(self) -> None: ...
|
||||
def close(self) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user