mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
subprocess: add endtime for py36 and below (#3641)
This commit is contained in:
committed by
Sebastian Rittau
parent
295c20211d
commit
b732342333
@@ -1156,7 +1156,10 @@ class Popen(Generic[AnyStr]):
|
||||
pass_fds: Any = ...) -> Popen[Any]: ...
|
||||
|
||||
def poll(self) -> int: ...
|
||||
def wait(self, timeout: Optional[float] = ...) -> int: ...
|
||||
if sys.version_info >= (3, 7):
|
||||
def wait(self, timeout: Optional[float] = ...) -> int: ...
|
||||
else:
|
||||
def wait(self, timeout: Optional[float] = ..., endtime: Optional[float] = ...) -> int: ...
|
||||
# Return str/bytes
|
||||
def communicate(self,
|
||||
input: Optional[AnyStr] = ...,
|
||||
|
||||
Reference in New Issue
Block a user