mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
os: Add buffering to fdopen. (#337)
This commit is contained in:
committed by
Guido van Rossum
parent
a393897c9a
commit
c98c2afb58
@@ -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]: ...
|
||||
|
||||
Reference in New Issue
Block a user