diff options
author | Guido van Rossum <guido@python.org> | 1997-12-18 16:28:56 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-12-18 16:28:56 (GMT) |
commit | e903aab83331aa828d28620a1b78d5f3a67254a3 (patch) | |
tree | 6ea9026c926364893a7289ad8f8840efc672fc65 /Doc/libtermios.tex | |
parent | b2c6ef83f4d0f5cc5b92578ae4f2e48e6a5f0eb0 (diff) | |
download | cpython-e903aab83331aa828d28620a1b78d5f3a67254a3.zip cpython-e903aab83331aa828d28620a1b78d5f3a67254a3.tar.gz cpython-e903aab83331aa828d28620a1b78d5f3a67254a3.tar.bz2 |
Replace unprotected tilders by \~ -- an unprotected tilde is a
non-breaking space!
Diffstat (limited to 'Doc/libtermios.tex')
-rw-r--r-- | Doc/libtermios.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/libtermios.tex b/Doc/libtermios.tex index ca309c8..1db8af8 100644 --- a/Doc/libtermios.tex +++ b/Doc/libtermios.tex @@ -83,7 +83,7 @@ def getpass(prompt = "Password: "): fd = sys.stdin.fileno() old = termios.tcgetattr(fd) new = termios.tcgetattr(fd) - new[3] = new[3] & ~TERMIOS.ECHO # lflags + new[3] = new[3] & \~TERMIOS.ECHO # lflags try: termios.tcsetattr(fd, TERMIOS.TCSADRAIN, new) passwd = raw_input(prompt) |