mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-14 18:27:51 +08:00
Set a default value for output in CalledProcessError.__init__ (#329)
This commit is contained in:
1 parent
c5dcfe96d2
commit
15714bb0e8
1 file changed
+1
-1
@@ -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