mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Use explicit "# type: str" instead of '' shortcut.
This commit is contained in:
@@ -26,8 +26,8 @@ STDOUT = ... # type: int
|
||||
|
||||
class CalledProcessError(Exception):
|
||||
returncode = 0
|
||||
cmd = ''
|
||||
output = '' # May be None
|
||||
cmd = ... # type: str
|
||||
output = ... # type: str # May be None
|
||||
|
||||
def __init__(self, returncode: int, cmd: str, output: str) -> None: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user