summaryrefslogtreecommitdiffstats
path: root/Doc/library/tty.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/tty.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/tty.rst')
-rw-r--r--Doc/library/tty.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/tty.rst b/Doc/library/tty.rst
index a477777..20ba7d7 100644
--- a/Doc/library/tty.rst
+++ b/Doc/library/tty.rst
@@ -15,6 +15,8 @@
The :mod:`tty` module defines functions for putting the tty into cbreak and raw
modes.
+.. availability:: Unix.
+
Because it requires the :mod:`termios` module, it will work only on Unix.
The :mod:`tty` module defines the following functions: