]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Replace unprotected tilders by \~ -- an unprotected tilde is a
authorGuido van Rossum <guido@python.org>
Thu, 18 Dec 1997 16:28:56 +0000 (16:28 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 18 Dec 1997 16:28:56 +0000 (16:28 +0000)
non-breaking space!

Doc/lib/libcrypto.tex
Doc/lib/libdis.tex
Doc/lib/libtermios.tex
Doc/lib/libtypes.tex
Doc/libcrypto.tex
Doc/libdis.tex
Doc/libtermios.tex
Doc/libtypes.tex

index 5e5e03e419ba61589e26c59d3e3974a144ad6b1d..59734ba4e8c2622d85cd987e1d57e571ca837830 100644 (file)
@@ -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
 for reading and decrypting PGP files, and then some.  These modules
 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.
 \index{PGP}
 \indexii{DES}{cipher}
index ac60fe363c5d551459851ad3958e904823d3651a..55acab47e81c973cefd05e2475abeb18d7eee289 100644 (file)
@@ -150,7 +150,7 @@ Implements \code{TOS = `TOS`}.
 \end{opcodedesc}
 
 \begin{opcodedesc}{UNARY_INVERT}{}
-Implements \code{TOS = ~TOS}.
+Implements \code{TOS = \~TOS}.
 \end{opcodedesc}
 
 Binary operations remove the top of the stack (TOS) and the second top-most
index ca309c8b635d81cf2ad3cb719716324fc631d99a..1db8af8c0311d4bf391fa66a6dd43ec89ababacb 100644 (file)
@@ -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)
index 70a619fa98050d11c0f381612c5cfdfda91f6906..fe727e3d33da597d2cff1d63dd5366af0a83b4c5 100644 (file)
@@ -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 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{-}).
 
 This table lists the bit-string operations sorted in ascending
index 5e5e03e419ba61589e26c59d3e3974a144ad6b1d..59734ba4e8c2622d85cd987e1d57e571ca837830 100644 (file)
@@ -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
 for reading and decrypting PGP files, and then some.  These modules
 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.
 \index{PGP}
 \indexii{DES}{cipher}
index ac60fe363c5d551459851ad3958e904823d3651a..55acab47e81c973cefd05e2475abeb18d7eee289 100644 (file)
@@ -150,7 +150,7 @@ Implements \code{TOS = `TOS`}.
 \end{opcodedesc}
 
 \begin{opcodedesc}{UNARY_INVERT}{}
-Implements \code{TOS = ~TOS}.
+Implements \code{TOS = \~TOS}.
 \end{opcodedesc}
 
 Binary operations remove the top of the stack (TOS) and the second top-most
index ca309c8b635d81cf2ad3cb719716324fc631d99a..1db8af8c0311d4bf391fa66a6dd43ec89ababacb 100644 (file)
@@ -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)
index 70a619fa98050d11c0f381612c5cfdfda91f6906..fe727e3d33da597d2cff1d63dd5366af0a83b4c5 100644 (file)
@@ -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 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{-}).
 
 This table lists the bit-string operations sorted in ascending