From: Andrew M. Kuchling Date: Tue, 31 Aug 2004 13:07:54 +0000 (+0000) Subject: Use correct constants X-Git-Tag: v2.3.5c1~120 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d136880e18ff1629af5f9346178173016e9d1212;p=thirdparty%2FPython%2Fcpython.git Use correct constants --- diff --git a/Doc/lib/libtty.tex b/Doc/lib/libtty.tex index c4f54b04ecd1..a43a63e03f60 100644 --- a/Doc/lib/libtty.tex +++ b/Doc/lib/libtty.tex @@ -18,13 +18,13 @@ The \module{tty} module defines the following functions: \begin{funcdesc}{setraw}{fd\optional{, when}} Change the mode of the file descriptor \var{fd} to raw. If \var{when} -is omitted, it defaults to \constant{TERMIOS.TCAFLUSH}, and is passed +is omitted, it defaults to \constant{termios.TCSAFLUSH}, and is passed to \function{termios.tcsetattr()}. \end{funcdesc} \begin{funcdesc}{setcbreak}{fd\optional{, when}} Change the mode of file descriptor \var{fd} to cbreak. If \var{when} -is omitted, it defaults to \constant{TERMIOS.TCAFLUSH}, and is passed +is omitted, it defaults to \constant{termios.TCSAFLUSH}, and is passed to \function{termios.tcsetattr()}. \end{funcdesc}