Fix annotations with literal values (#3411)

This commit is contained in:
Sebastian Rittau
2019-10-28 14:59:28 +01:00
committed by Jelle Zijlstra
parent 6a7c2011cc
commit 87d7dd3d95
15 changed files with 104 additions and 104 deletions

View File

@@ -61,7 +61,7 @@ PIPE: int
STDOUT: int
class CalledProcessError(Exception):
returncode = 0
returncode: int
# morally: _CMD
cmd: Any
# morally: Optional[bytes]
@@ -79,8 +79,8 @@ class Popen(Generic[_T]):
stdin: Optional[IO[bytes]]
stdout: Optional[IO[bytes]]
stderr: Optional[IO[bytes]]
pid = 0
returncode = 0
pid: int
returncode: int
def __new__(cls,
args: _CMD,