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:
4343 :func: `termios.tcsetattr `. The return value of :func: `termios.tcgetattr `
4444 is saved before setting *fd * to raw mode; this value is returned.
4545
46+ .. versionchanged :: 3.12
47+ The return value is now the original tty attributes, instead of None.
48+
4649
4750.. function :: setcbreak(fd, when=termios.TCSAFLUSH)
4851
@@ -51,6 +54,9 @@ The :mod:`tty` module defines the following functions:
5154 :func: `termios.tcsetattr `. The return value of :func: `termios.tcgetattr `
5255 is saved before setting *fd * to cbreak mode; this value is returned.
5356
57+ .. versionchanged :: 3.12
58+ The return value is now the original tty attributes, instead of None.
59+
5460
5561.. seealso ::
5662
You can’t perform that action at this time.
0 commit comments