mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
All new files in stdlib/@python2 are straight copies of the corresponding files in stdlib.
16 lines
275 B
Python
16 lines
275 B
Python
from typing import IO, Union
|
|
|
|
_FD = Union[int, IO[str]]
|
|
|
|
# XXX: Undocumented integer constants
|
|
IFLAG: int
|
|
OFLAG: int
|
|
CFLAG: int
|
|
LFLAG: int
|
|
ISPEED: int
|
|
OSPEED: int
|
|
CC: int
|
|
|
|
def setraw(fd: _FD, when: int = ...) -> None: ...
|
|
def setcbreak(fd: _FD, when: int = ...) -> None: ...
|