Skip to content

Commit 007d10e

Browse files
committed
Add missing attributes: asyncio.subprocess.Process
Add typehints for the following `asyncio.subprocess.Process` attributes: - `stdin`: `Optional[asyncio.streams.StreamWriter]` - `stdout`: `Optional[asyncio.streams.StreamReader]` - `stderr`: `Optional[asyncio.streams.StreamReader]` - `pid`: `int`
1 parent 26360e8 commit 007d10e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

stdlib/3.4/asyncio/subprocess.pyi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ class SubprocessStreamProtocol(streams.FlowControlMixin,
2121

2222

2323
class Process:
24+
stdin = ... # type: Optional[streams.StreamWriter]
25+
stdout = ... # type: Optional[streams.StreamReader]
26+
stderr = ... # type: Optional[streams.StreamReader]
27+
pid = ... # type: int
2428
def __init__(self,
2529
transport: transports.BaseTransport,
2630
protocol: protocols.BaseProtocol,

0 commit comments

Comments
 (0)