mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-22 11:51:28 +08:00
subprocess: Make stdin, stdout & stderr Optional for py3 to match py2 (#3652)
Closes: #3646
This commit is contained in:
committed by
Sebastian Rittau
parent
b972427ad4
commit
76b295a669
@@ -832,9 +832,9 @@ class CalledProcessError(Exception):
|
||||
|
||||
class Popen(Generic[AnyStr]):
|
||||
args: _CMD
|
||||
stdin: IO[AnyStr]
|
||||
stdout: IO[AnyStr]
|
||||
stderr: IO[AnyStr]
|
||||
stdin: Optional[IO[AnyStr]]
|
||||
stdout: Optional[IO[AnyStr]]
|
||||
stderr: Optional[IO[AnyStr]]
|
||||
pid: int
|
||||
returncode: int
|
||||
|
||||
|
||||
Reference in New Issue
Block a user