mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Re-organize directory structure (#4971)
See discussion in #2491 Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
This commit is contained in:
15
stdlib/tty.pyi
Normal file
15
stdlib/tty.pyi
Normal file
@@ -0,0 +1,15 @@
|
||||
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: ...
|
||||
Reference in New Issue
Block a user