File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,9 @@ The :mod:`tty` module defines the following functions:
43
43
:func: `termios.tcsetattr `. The return value of :func: `termios.tcgetattr `
44
44
is saved before setting *fd * to raw mode; this value is returned.
45
45
46
+ .. versionchanged :: 3.12
47
+ The return value is now the original tty attributes, instead of None.
48
+
46
49
47
50
.. function :: setcbreak(fd, when=termios.TCSAFLUSH)
48
51
@@ -51,6 +54,9 @@ The :mod:`tty` module defines the following functions:
51
54
:func: `termios.tcsetattr `. The return value of :func: `termios.tcgetattr `
52
55
is saved before setting *fd * to cbreak mode; this value is returned.
53
56
57
+ .. versionchanged :: 3.12
58
+ The return value is now the original tty attributes, instead of None.
59
+
54
60
55
61
.. seealso ::
56
62
You can’t perform that action at this time.
0 commit comments