diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-05-08 19:55:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-08 19:55:13 (GMT) |
commit | 530c3bb271d85e7700f627c5d64089d270286dfa (patch) | |
tree | 23c5200c130874f8d0e6c786f4fce6b303039909 /Doc/library/tty.rst | |
parent | b83b3cb9daf19560a171867b42d412a72b2bc4f5 (diff) | |
download | cpython-530c3bb271d85e7700f627c5d64089d270286dfa.zip cpython-530c3bb271d85e7700f627c5d64089d270286dfa.tar.gz cpython-530c3bb271d85e7700f627c5d64089d270286dfa.tar.bz2 |
[3.12] Format None, True, False and NotImplemented as literals (GH-118758) (GH-118794)
(cherry picked from commit 05c2fe1acda9ea5a57061642c36e8b73bb4fbba4)
Diffstat (limited to 'Doc/library/tty.rst')
-rw-r--r-- | Doc/library/tty.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/tty.rst b/Doc/library/tty.rst index 0641d8a..37778bf 100644 --- a/Doc/library/tty.rst +++ b/Doc/library/tty.rst @@ -53,7 +53,7 @@ The :mod:`tty` module defines the following functions: is saved before setting *fd* to raw mode; this value is returned. .. versionchanged:: 3.12 - The return value is now the original tty attributes, instead of None. + The return value is now the original tty attributes, instead of ``None``. .. function:: setcbreak(fd, when=termios.TCSAFLUSH) @@ -67,7 +67,7 @@ The :mod:`tty` module defines the following functions: the minimum input to 1 byte with no delay. .. versionchanged:: 3.12 - The return value is now the original tty attributes, instead of None. + The return value is now the original tty attributes, instead of ``None``. .. versionchanged:: 3.12.2 The ``ICRNL`` flag is no longer cleared. This restores the behavior |