asyncio.subprocess: returncode is Optional (#3981)

This commit is contained in:
Kazushi Kitaya
2020-05-13 23:14:42 +09:00
committed by GitHub
parent 09093435c3
commit d39e58c3bc

View File

@@ -30,7 +30,7 @@ class Process:
protocol: protocols.BaseProtocol,
loop: events.AbstractEventLoop) -> None: ...
@property
def returncode(self) -> int: ...
def returncode(self) -> Optional[int]: ...
async def wait(self) -> int: ...
def send_signal(self, signal: int) -> None: ...
def terminate(self) -> None: ...