Skip to content

Commit 9092251

Browse files
[3.12] gh-101100: Fix Sphinx warnings in library/tty.rst (GH-111079) (#111097)
gh-101100: Fix Sphinx warnings in `library/tty.rst` (GH-111079) Fix Sphinx warnings in library/tty.rst (cherry picked from commit c42c68a) Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent 42fd44a commit 9092251

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

Doc/library/termios.rst

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,20 @@ The module defines the following functions:
4343

4444
Set the tty attributes for file descriptor *fd* from the *attributes*, which is
4545
a list like the one returned by :func:`tcgetattr`. The *when* argument
46-
determines when the attributes are changed: :const:`TCSANOW` to change
47-
immediately, :const:`TCSADRAIN` to change after transmitting all queued output,
48-
or :const:`TCSAFLUSH` to change after transmitting all queued output and
49-
discarding all queued input.
46+
determines when the attributes are changed:
47+
48+
.. data:: TCSANOW
49+
50+
Change attributes immediately.
51+
52+
.. data:: TCSADRAIN
53+
54+
Change attributes after transmitting all queued output.
55+
56+
.. data:: TCSAFLUSH
57+
58+
Change attributes after transmitting all queued output and
59+
discarding all queued input.
5060

5161

5262
.. function:: tcsendbreak(fd, duration)

Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ Doc/library/tkinter.scrolledtext.rst
135135
Doc/library/tkinter.tix.rst
136136
Doc/library/tkinter.ttk.rst
137137
Doc/library/traceback.rst
138-
Doc/library/tty.rst
139138
Doc/library/unittest.mock.rst
140139
Doc/library/unittest.rst
141140
Doc/library/urllib.parse.rst

0 commit comments

Comments
 (0)