]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
termios docs: fix indentation (#93080)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Sun, 22 May 2022 22:55:11 +0000 (15:55 -0700)
committerGitHub <noreply@github.com>
Sun, 22 May 2022 22:55:11 +0000 (15:55 -0700)
Doc/library/termios.rst

index 3b0cb60f874522873bfa6531fa89434f5f879a1e..fb1ff567d49e5c86225f2d28477b536f7ee7d6f8 100644 (file)
@@ -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