mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Fix annotations with literal values (#3411)
This commit is contained in:
committed by
Jelle Zijlstra
parent
6a7c2011cc
commit
87d7dd3d95
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user