summaryrefslogtreecommitdiffstats
path: root/Doc/library/termios.rst
diff options
context:
space:
mode:
authorxzmeng <aumo@foxmail.com>2023-10-31 16:14:27 (GMT)
committerGitHub <noreply@github.com>2023-10-31 16:14:27 (GMT)
commitcf3dbe4c3df40e2d4d572c62623207ce29a9365b (patch)
tree9009ac2cb916d35fd6da3b74582aa3fc6aa3c86e /Doc/library/termios.rst
parent52a5b5d276abb3f3101c0b75b67c1c3f8ee483fe (diff)
downloadcpython-cf3dbe4c3df40e2d4d572c62623207ce29a9365b.zip
cpython-cf3dbe4c3df40e2d4d572c62623207ce29a9365b.tar.gz
cpython-cf3dbe4c3df40e2d4d572c62623207ce29a9365b.tar.bz2
gh-106861: Docs: Add availability directives to all Unix-only modules (#108975)
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.