mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
asyncio: get_returncode() and get_pipe_transport() can return None (#3663)
This commit is contained in:
committed by
Jelle Zijlstra
parent
d413b4b162
commit
64fea9c543
@@ -37,8 +37,8 @@ class DatagramTransport(BaseTransport):
|
||||
|
||||
class SubprocessTransport(BaseTransport):
|
||||
def get_pid(self) -> int: ...
|
||||
def get_returncode(self) -> int: ...
|
||||
def get_pipe_transport(self, fd: int) -> BaseTransport: ...
|
||||
def get_returncode(self) -> Optional[int]: ...
|
||||
def get_pipe_transport(self, fd: int) -> Optional[BaseTransport]: ...
|
||||
def send_signal(self, signal: int) -> int: ...
|
||||
def terminate(self) -> None: ...
|
||||
def kill(self) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user