set subprocess stdout to be type Any (#581) (#761)

This commit is contained in:
Philip House
2016-12-13 22:23:45 +08:00
committed by Jukka Lehtosalo
parent 0d7a5374c5
commit bc252d69ac

View File

@@ -9,9 +9,9 @@ from types import TracebackType
if sys.version_info >= (3, 5):
class CompletedProcess:
args = ... # type: Union[List, str]
returncode = ... # type: int
stdout = ... # type: Union[str, bytes]
stderr = ... # type: Union[str, bytes]
returncode = ... # type: int
stdout = ... # type: Any
stderr = ... # type: Union[str, bytes]
def __init__(self, args: Union[List, str],
returncode: int,
stdout: Union[str, bytes],