mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
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.
This commit is contained in:
parent
e63415ead8
commit
a6140be7b3
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue