summaryrefslogtreecommitdiffstats
path: root/Doc/library/termios.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-10-31 16:22:50 (GMT)
committerGitHub <noreply@github.com>2023-10-31 16:22:50 (GMT)
commitc21387c6b22bc6b85cf7fa8fecc3f257f5d782c0 (patch)
tree4311a535c57c48b92cc4e2ec021571ae0d86bfd6 /Doc/library/termios.rst
parentdde5a99ba2173cf1ffbc1692d68000610250eacd (diff)
downloadcpython-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.rst2
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.