]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Use correct constants
authorAndrew M. Kuchling <amk@amk.ca>
Tue, 31 Aug 2004 13:07:54 +0000 (13:07 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Tue, 31 Aug 2004 13:07:54 +0000 (13:07 +0000)
Doc/lib/libtty.tex

index c4f54b04ecd1cf2de0eeaf402a6a76f9cf62ee1b..a43a63e03f608d5d6eb8f99bc66ecb3ea91790c6 100644 (file)
@@ -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}