mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Set a default value for output in CalledProcessError.__init__ (#329)
This commit is contained in:
committed by
Guido van Rossum
parent
c5dcfe96d2
commit
15714bb0e8
@@ -29,7 +29,7 @@ class CalledProcessError(Exception):
|
||||
cmd = ... # type: str
|
||||
output = b'' # May be None
|
||||
|
||||
def __init__(self, returncode: int, cmd: str, output: Optional[str],
|
||||
def __init__(self, returncode: int, cmd: str, output: Optional[str] = ...,
|
||||
stderr: Optional[str] = ...) -> None: ...
|
||||
|
||||
class Popen:
|
||||
|
||||
Reference in New Issue
Block a user