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
- determines when the attributes are changed: :const:`TCSANOW` to change
- immediately, :const:`TCSADRAIN` to change after transmitting all queued output,
- or :const:`TCSAFLUSH` to change after transmitting all queued output and
- discarding all queued input.
+ determines when the attributes are changed:
+
+ .. 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.
.. function:: tcsendbreak(fd, duration)
Doc/library/tkinter.tix.rst
Doc/library/tkinter.ttk.rst
Doc/library/traceback.rst
-Doc/library/tty.rst
Doc/library/unittest.mock.rst
Doc/library/unittest.rst
Doc/library/urllib.parse.rst