os: Add buffering to fdopen. (#337)

This commit is contained in:
Eklavya Sharma
2016-07-05 08:42:06 +05:30
committed by Guido van Rossum
parent a393897c9a
commit c98c2afb58

View File

@@ -196,8 +196,8 @@ def umask(mask: int) -> int: ...
def uname() -> Tuple[str, str, str, str, str]: ... # Unix only
def unsetenv(key: AnyStr) -> None: ...
# Return IO or TextIO
def fdopen(fd: int, mode: str = ..., encoding: str = ..., errors: str = ...,
newline: str = ..., closefd: bool = ...) -> Any: ...
def fdopen(fd: int, mode: str = ..., buffering: int = ..., encoding: str = ...,
errors: str = ..., newline: str = ..., closefd: bool = ...) -> Any: ...
def close(fd: int) -> None: ...
def closerange(fd_low: int, fd_high: int) -> None: ...
def device_encoding(fd: int) -> Optional[str]: ...