We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 269005e commit f02f26eCopy full SHA for f02f26e
Doc/library/tty.rst
@@ -43,6 +43,9 @@ The :mod:`tty` module defines the following functions:
43
:func:`termios.tcsetattr`. The return value of :func:`termios.tcgetattr`
44
is saved before setting *fd* to raw mode; this value is returned.
45
46
+ .. versionchanged:: 3.12
47
+ The return value is now the original tty attributes, instead of None.
48
+
49
50
.. function:: setcbreak(fd, when=termios.TCSAFLUSH)
51
@@ -51,6 +54,9 @@ The :mod:`tty` module defines the following functions:
54
52
55
is saved before setting *fd* to cbreak mode; this value is returned.
53
56
57
58
59
60
61
.. seealso::
62
0 commit comments