mirror of https://github.com/python/cpython
termios docs: fix indentation (GH-93080)
(cherry picked from commit ea5918e932
)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
parent
748c83d96d
commit
a86ad12399
|
@ -85,11 +85,11 @@ The module defines the following functions:
|
||||||
|
|
||||||
.. function:: tcsetwinsize(fd, winsize)
|
.. function:: tcsetwinsize(fd, winsize)
|
||||||
|
|
||||||
Set the tty window size for file descriptor *fd* from *winsize*, which is
|
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
|
a two-item tuple ``(ws_row, ws_col)`` like the one returned by
|
||||||
:func:`tcgetwinsize`. Requires at least one of the pairs
|
:func:`tcgetwinsize`. Requires at least one of the pairs
|
||||||
(:const:`termios.TIOCGWINSZ`, :const:`termios.TIOCSWINSZ`);
|
(:const:`termios.TIOCGWINSZ`, :const:`termios.TIOCSWINSZ`);
|
||||||
(:const:`termios.TIOCGSIZE`, :const:`termios.TIOCSSIZE`) to be defined.
|
(:const:`termios.TIOCGSIZE`, :const:`termios.TIOCSSIZE`) to be defined.
|
||||||
|
|
||||||
.. versionadded:: 3.11
|
.. versionadded:: 3.11
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue