mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Adds Python 2 and 3 stubs for `tty` module. Addresses one of the missing stubs mentioned in #1019.
14 lines
346 B
Python
14 lines
346 B
Python
# Stubs for tty (Python 3.6)
|
|
|
|
# XXX: Undocumented integer constants
|
|
IFLAG = ... # type: int
|
|
OFLAG = ... # type: int
|
|
CFLAG = ... # type: int
|
|
LFLAG = ... # type: int
|
|
ISPEED = ... # type: int
|
|
OSPEED = ... # type: int
|
|
CC = ... # type: int
|
|
|
|
def setraw(fd: int, when: int = ...) -> None: ...
|
|
def setcbreak(fd: int, when: int = ...) -> None: ...
|