Commit bd688fe6 authored by Guido van Rossum's avatar Guido van Rossum

Replace unprotected tilders by \~ -- an unprotected tilde is a

non-breaking space!
parent bb310f45
...@@ -23,7 +23,7 @@ written by Andrew Kuchling of further interest; the package adds ...@@ -23,7 +23,7 @@ written by Andrew Kuchling of further interest; the package adds
built-in modules for DES and IDEA encryption, provides a Python module built-in modules for DES and IDEA encryption, provides a Python module
for reading and decrypting PGP files, and then some. These modules for reading and decrypting PGP files, and then some. These modules
are not distributed with Python but available separately. See the URL are not distributed with Python but available separately. See the URL
\file{http://www.magnet.com/~amk/python/pct.html} or send email to \file{http://www.magnet.com/\~amk/python/pct.html} or send email to
\file{amk@magnet.com} for more information. \file{amk@magnet.com} for more information.
\index{PGP} \index{PGP}
\indexii{DES}{cipher} \indexii{DES}{cipher}
......
...@@ -150,7 +150,7 @@ Implements \code{TOS = `TOS`}. ...@@ -150,7 +150,7 @@ Implements \code{TOS = `TOS`}.
\end{opcodedesc} \end{opcodedesc}
\begin{opcodedesc}{UNARY_INVERT}{} \begin{opcodedesc}{UNARY_INVERT}{}
Implements \code{TOS = ~TOS}. Implements \code{TOS = \~TOS}.
\end{opcodedesc} \end{opcodedesc}
Binary operations remove the top of the stack (TOS) and the second top-most Binary operations remove the top of the stack (TOS) and the second top-most
......
...@@ -83,7 +83,7 @@ def getpass(prompt = "Password: "): ...@@ -83,7 +83,7 @@ def getpass(prompt = "Password: "):
fd = sys.stdin.fileno() fd = sys.stdin.fileno()
old = termios.tcgetattr(fd) old = termios.tcgetattr(fd)
new = termios.tcgetattr(fd) new = termios.tcgetattr(fd)
new[3] = new[3] & ~TERMIOS.ECHO # lflags new[3] = new[3] & \~TERMIOS.ECHO # lflags
try: try:
termios.tcsetattr(fd, TERMIOS.TCSADRAIN, new) termios.tcsetattr(fd, TERMIOS.TCSADRAIN, new)
passwd = raw_input(prompt) passwd = raw_input(prompt)
......
...@@ -260,7 +260,7 @@ number of bits that no overflow occurs during the operation). ...@@ -260,7 +260,7 @@ number of bits that no overflow occurs during the operation).
The priorities of the binary bit-wise operations are all lower than The priorities of the binary bit-wise operations are all lower than
the numeric operations and higher than the comparisons; the unary the numeric operations and higher than the comparisons; the unary
operation \samp{~} has the same priority as the other unary numeric operation \samp{\~} has the same priority as the other unary numeric
operations (\samp{+} and \samp{-}). operations (\samp{+} and \samp{-}).
This table lists the bit-string operations sorted in ascending This table lists the bit-string operations sorted in ascending
......
...@@ -23,7 +23,7 @@ written by Andrew Kuchling of further interest; the package adds ...@@ -23,7 +23,7 @@ written by Andrew Kuchling of further interest; the package adds
built-in modules for DES and IDEA encryption, provides a Python module built-in modules for DES and IDEA encryption, provides a Python module
for reading and decrypting PGP files, and then some. These modules for reading and decrypting PGP files, and then some. These modules
are not distributed with Python but available separately. See the URL are not distributed with Python but available separately. See the URL
\file{http://www.magnet.com/~amk/python/pct.html} or send email to \file{http://www.magnet.com/\~amk/python/pct.html} or send email to
\file{amk@magnet.com} for more information. \file{amk@magnet.com} for more information.
\index{PGP} \index{PGP}
\indexii{DES}{cipher} \indexii{DES}{cipher}
......
...@@ -150,7 +150,7 @@ Implements \code{TOS = `TOS`}. ...@@ -150,7 +150,7 @@ Implements \code{TOS = `TOS`}.
\end{opcodedesc} \end{opcodedesc}
\begin{opcodedesc}{UNARY_INVERT}{} \begin{opcodedesc}{UNARY_INVERT}{}
Implements \code{TOS = ~TOS}. Implements \code{TOS = \~TOS}.
\end{opcodedesc} \end{opcodedesc}
Binary operations remove the top of the stack (TOS) and the second top-most Binary operations remove the top of the stack (TOS) and the second top-most
......
...@@ -83,7 +83,7 @@ def getpass(prompt = "Password: "): ...@@ -83,7 +83,7 @@ def getpass(prompt = "Password: "):
fd = sys.stdin.fileno() fd = sys.stdin.fileno()
old = termios.tcgetattr(fd) old = termios.tcgetattr(fd)
new = termios.tcgetattr(fd) new = termios.tcgetattr(fd)
new[3] = new[3] & ~TERMIOS.ECHO # lflags new[3] = new[3] & \~TERMIOS.ECHO # lflags
try: try:
termios.tcsetattr(fd, TERMIOS.TCSADRAIN, new) termios.tcsetattr(fd, TERMIOS.TCSADRAIN, new)
passwd = raw_input(prompt) passwd = raw_input(prompt)
......
...@@ -260,7 +260,7 @@ number of bits that no overflow occurs during the operation). ...@@ -260,7 +260,7 @@ number of bits that no overflow occurs during the operation).
The priorities of the binary bit-wise operations are all lower than The priorities of the binary bit-wise operations are all lower than
the numeric operations and higher than the comparisons; the unary the numeric operations and higher than the comparisons; the unary
operation \samp{~} has the same priority as the other unary numeric operation \samp{\~} has the same priority as the other unary numeric
operations (\samp{+} and \samp{-}). operations (\samp{+} and \samp{-}).
This table lists the bit-string operations sorted in ascending This table lists the bit-string operations sorted in ascending
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment