diff --git a/stdlib/@tests/stubtest_allowlists/py314.txt b/stdlib/@tests/stubtest_allowlists/py314.txt index bd002b55aea1..d3fd3a15592a 100644 --- a/stdlib/@tests/stubtest_allowlists/py314.txt +++ b/stdlib/@tests/stubtest_allowlists/py314.txt @@ -11,7 +11,6 @@ multiprocessing.managers._BaseDictProxy.__or__ multiprocessing.managers._BaseDictProxy.__reversed__ multiprocessing.managers._BaseDictProxy.__ror__ multiprocessing.managers._BaseDictProxy.fromkeys -multiprocessing.process.BaseProcess.interrupt # ========================= diff --git a/stdlib/multiprocessing/process.pyi b/stdlib/multiprocessing/process.pyi index 4d129b27b0e8..c7d13b318a44 100644 --- a/stdlib/multiprocessing/process.pyi +++ b/stdlib/multiprocessing/process.pyi @@ -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: ...