Skip to content

Commit d8fe91b

Browse files
Improve wording
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
1 parent cd7dc2c commit d8fe91b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Doc/library/getpass.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,12 @@ The :mod:`getpass` module provides two functions:
4040
terminal you launched IDLE from rather than the idle window itself.
4141

4242
.. note::
43-
On Unix systems, when ``echo_char`` is set, ``Ctrl+U`` will not erase
44-
the entire current input line, and may insert unexpected characters
45-
into the input.
46-
(See https://github.com/python/cpython/issues/138577 for detail)
43+
On Unix systems, when *echo_char* is set, the terminal will be
44+
configured to operate in `noncanonical mode
45+
<https://manpages.debian.org/termios(3)#Canonical_and_noncanonical_mode>`__.
46+
In particular, this means that line editing shortcuts such as
47+
:kbd:`Ctrl+U` will not work and may insert unexpected characters into
48+
the input. (See :gh:`138577`)
4749

4850
.. versionchanged:: 3.14
4951
Added the *echo_char* parameter for keyboard feedback.

0 commit comments

Comments
 (0)