Stub for tty (#1038)

Adds Python 2 and 3 stubs for `tty` module.  Addresses one of the missing stubs mentioned in #1019.
This commit is contained in:
Eddie Antonio Santos
2017-03-19 18:35:31 -06:00
committed by Łukasz Langa
parent 658abe7c9e
commit 16babfdfda

13
stdlib/2and3/tty.pyi Normal file
View File

@@ -0,0 +1,13 @@
# 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: ...