asyncio: get_returncode() and get_pipe_transport() can return None (#3663)

This commit is contained in:
Niklas Fiekas
2020-01-26 20:38:11 +00:00
committed by Jelle Zijlstra
parent d413b4b162
commit 64fea9c543

View File

@@ -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: ...