gh-101100: Fix Sphinx warnings in library/tty.rst
(#111079)
Fix Sphinx warnings in library/tty.rst
This commit is contained in:
parent
b802882fb2
commit
c42c68aa7b
@ -43,9 +43,19 @@ The module defines the following functions:
|
|||||||
|
|
||||||
Set the tty attributes for file descriptor *fd* from the *attributes*, which is
|
Set the tty attributes for file descriptor *fd* from the *attributes*, which is
|
||||||
a list like the one returned by :func:`tcgetattr`. The *when* argument
|
a list like the one returned by :func:`tcgetattr`. The *when* argument
|
||||||
determines when the attributes are changed: :const:`TCSANOW` to change
|
determines when the attributes are changed:
|
||||||
immediately, :const:`TCSADRAIN` to change after transmitting all queued output,
|
|
||||||
or :const:`TCSAFLUSH` to change after transmitting all queued output and
|
.. data:: TCSANOW
|
||||||
|
|
||||||
|
Change attributes immediately.
|
||||||
|
|
||||||
|
.. data:: TCSADRAIN
|
||||||
|
|
||||||
|
Change attributes after transmitting all queued output.
|
||||||
|
|
||||||
|
.. data:: TCSAFLUSH
|
||||||
|
|
||||||
|
Change attributes after transmitting all queued output and
|
||||||
discarding all queued input.
|
discarding all queued input.
|
||||||
|
|
||||||
|
|
||||||
|
@ -119,7 +119,6 @@ Doc/library/tkinter.rst
|
|||||||
Doc/library/tkinter.scrolledtext.rst
|
Doc/library/tkinter.scrolledtext.rst
|
||||||
Doc/library/tkinter.ttk.rst
|
Doc/library/tkinter.ttk.rst
|
||||||
Doc/library/traceback.rst
|
Doc/library/traceback.rst
|
||||||
Doc/library/tty.rst
|
|
||||||
Doc/library/unittest.mock.rst
|
Doc/library/unittest.mock.rst
|
||||||
Doc/library/unittest.rst
|
Doc/library/unittest.rst
|
||||||
Doc/library/urllib.parse.rst
|
Doc/library/urllib.parse.rst
|
||||||
|
Loading…
x
Reference in New Issue
Block a user