[Python-checkins] termios docs: fix indentation (GH-93080)

miss-islington webhook-mailer at python.org
Sun May 22 19:11:43 EDT 2022


https://github.com/python/cpython/commit/a86ad12399c33086fae2490ee26814ccd07ee6af
commit: a86ad12399c33086fae2490ee26814ccd07ee6af
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-05-22T16:11:36-07:00
summary:

termios docs: fix indentation (GH-93080)

(cherry picked from commit ea5918e932a441aef8c22acfdcfa6345ec32d1a8)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra at gmail.com>

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