mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
subprocess: improve Popen.returncode type (#7806)
This commit is contained in:
@@ -798,7 +798,7 @@ class Popen(Generic[AnyStr]):
|
||||
stdout: IO[AnyStr] | None
|
||||
stderr: IO[AnyStr] | None
|
||||
pid: int
|
||||
returncode: int
|
||||
returncode: int | Any
|
||||
universal_newlines: bool
|
||||
|
||||
# Technically it is wrong that Popen provides __new__ instead of __init__
|
||||
|
||||
Reference in New Issue
Block a user