Skip to content

Commit 0c22d13

Browse files
committed
fix Type for Popen.communicate
1 parent 89feca0 commit 0c22d13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typeshed/3/subprocess.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ class Popen(Generic[AnyStr]):
11621162
input: Optional[AnyStr] = ...,
11631163
timeout: Optional[float] = ...,
11641164
# morally this should be optional
1165-
) -> Tuple[AnyStr, AnyStr]: ...
1165+
) -> Tuple[Optional[AnyStr], AnyStr]: ...
11661166
def send_signal(self, signal: int) -> None: ...
11671167
def terminate(self) -> None: ...
11681168
def kill(self) -> None: ...

0 commit comments

Comments
 (0)