summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2022-05-22 22:55:11 (GMT)
committerGitHub <noreply@github.com>2022-05-22 22:55:11 (GMT)
commitea5918e932a441aef8c22acfdcfa6345ec32d1a8 (patch)
tree6daa7ccdfdb071f97268c59c4ad037c9927dc05d
parente5d8dbdd304935dbd0631ee9605efb501332f792 (diff)
downloadcpython-ea5918e932a441aef8c22acfdcfa6345ec32d1a8.zip
cpython-ea5918e932a441aef8c22acfdcfa6345ec32d1a8.tar.gz
cpython-ea5918e932a441aef8c22acfdcfa6345ec32d1a8.tar.bz2
termios docs: fix indentation (#93080)
-rw-r--r--Doc/library/termios.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/termios.rst b/Doc/library/termios.rst
index 3b0cb60..fb1ff56 100644
--- a/Doc/library/termios.rst
+++ b/Doc/library/termios.rst
@@ -85,11 +85,11 @@ The module defines the following functions:
.. function:: tcsetwinsize(fd, winsize)
- Set the tty window size for file descriptor *fd* from *winsize*, which is
- a two-item tuple ``(ws_row, ws_col)`` like the one returned by
- :func:`tcgetwinsize`. Requires at least one of the pairs
- (:const:`termios.TIOCGWINSZ`, :const:`termios.TIOCSWINSZ`);
- (:const:`termios.TIOCGSIZE`, :const:`termios.TIOCSSIZE`) to be defined.
+ Set the tty window size for file descriptor *fd* from *winsize*, which is
+ a two-item tuple ``(ws_row, ws_col)`` like the one returned by
+ :func:`tcgetwinsize`. Requires at least one of the pairs
+ (:const:`termios.TIOCGWINSZ`, :const:`termios.TIOCSWINSZ`);
+ (:const:`termios.TIOCGSIZE`, :const:`termios.TIOCSSIZE`) to be defined.
.. versionadded:: 3.11