mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 18:42:41 +08:00
subprocess: Make stdin, stdout & stderr Optional for py3 to match py2 (#3652)
Closes: #3646
This commit is contained in:
1 parent
b972427ad4
commit
76b295a669
1 file changed
+3
-3
@@ -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