mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
subprocess: make output argument to CalledProcessError optional
This commit is contained in:
@@ -29,7 +29,7 @@ class CalledProcessError(Exception):
|
||||
cmd = ... # type: str
|
||||
output = b'' # May be None
|
||||
|
||||
def __init__(self, returncode: int, cmd: str, output: str) -> None: ...
|
||||
def __init__(self, returncode: int, cmd: str, output: str = ...) -> None: ...
|
||||
|
||||
class Popen:
|
||||
stdin = ... # type: IO[Any]
|
||||
|
||||
Reference in New Issue
Block a user