Skip to content

Commit

Permalink
subprocess: improve Popen.returncode type (#7806)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnixry authored May 8, 2022
1 parent 8d8420b commit 32f474d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/subprocess.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down

0 comments on commit 32f474d

Please sign in to comment.