diff options
author | Fred Drake <fdrake@acm.org> | 2001-05-08 05:37:52 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-05-08 05:37:52 (GMT) |
commit | a6140be7b34ed4de69231570f0674cf603eb7969 (patch) | |
tree | db08720e5cacf194c148f9247ff2f10ff1244836 | |
parent | e63415ead8aeaaf072142c177a71b5a3e3327187 (diff) | |
download | cpython-a6140be7b34ed4de69231570f0674cf603eb7969.zip cpython-a6140be7b34ed4de69231570f0674cf603eb7969.tar.gz cpython-a6140be7b34ed4de69231570f0674cf603eb7969.tar.bz2 |
Michael Hudson <mwh21@cam.ac.uk>:
Documentation update to reflect changes to the termios module (noting
that the termios functions can take a file object as well as a file
descriptor).
This closes the documentation portion of SF patch #417081.
-rw-r--r-- | Doc/lib/libtermios.tex | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/lib/libtermios.tex b/Doc/lib/libtermios.tex index 89481e6..95ee1fd 100644 --- a/Doc/lib/libtermios.tex +++ b/Doc/lib/libtermios.tex @@ -16,8 +16,9 @@ that support \POSIX{} \emph{termios} style tty I/O control (and then only if configured at installation time). All functions in this module take a file descriptor \var{fd} as their -first argument. This must be an integer file descriptor, such as -returned by \code{sys.stdin.fileno()}. +first argument. This can be an integer file descriptor, such as +returned by \code{sys.stdin.fileno()}, or a file object, such as +\code{sys.stdin} itself. This module also defines all the constants needed to work with the functions provided here; these have the same name as their |