diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-10-31 16:22:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-31 16:22:50 (GMT) |
commit | c21387c6b22bc6b85cf7fa8fecc3f257f5d782c0 (patch) | |
tree | 4311a535c57c48b92cc4e2ec021571ae0d86bfd6 /Doc/library/termios.rst | |
parent | dde5a99ba2173cf1ffbc1692d68000610250eacd (diff) | |
download | cpython-c21387c6b22bc6b85cf7fa8fecc3f257f5d782c0.zip cpython-c21387c6b22bc6b85cf7fa8fecc3f257f5d782c0.tar.gz cpython-c21387c6b22bc6b85cf7fa8fecc3f257f5d782c0.tar.bz2 |
[3.12] gh-106861: Docs: Add availability directives to all Unix-only modules (GH-108975) (#111553)
Co-authored-by: xzmeng <aumo@foxmail.com>
Diffstat (limited to 'Doc/library/termios.rst')
-rw-r--r-- | Doc/library/termios.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/termios.rst b/Doc/library/termios.rst index 0380617..57705dd 100644 --- a/Doc/library/termios.rst +++ b/Doc/library/termios.rst @@ -16,6 +16,8 @@ complete description of these calls, see :manpage:`termios(3)` Unix manual page. It is only available for those Unix versions that support POSIX *termios* style tty I/O control configured during installation. +.. availability:: Unix. + All functions in this module take a file descriptor *fd* as their first argument. This can be an integer file descriptor, such as returned by ``sys.stdin.fileno()``, or a :term:`file object`, such as ``sys.stdin`` itself. |