[Python-checkins] termios docs: fix indentation (#93080)
JelleZijlstra
webhook-mailer at python.org
Sun May 22 18:55:21 EDT 2022
https://github.com/python/cpython/commit/ea5918e932a441aef8c22acfdcfa6345ec32d1a8
commit: ea5918e932a441aef8c22acfdcfa6345ec32d1a8
branch: main
author: Jelle Zijlstra <jelle.zijlstra at gmail.com>
committer: JelleZijlstra <jelle.zijlstra at gmail.com>
date: 2022-05-22T15:55:11-07:00
summary:
termios docs: fix indentation (#93080)
files:
M Doc/library/termios.rst
diff --git a/Doc/library/termios.rst b/Doc/library/termios.rst
index 3b0cb60f87452..fb1ff567d49e5 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
More information about the Python-checkins
mailing list