summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libcrypto.tex2
-rw-r--r--Doc/lib/libdis.tex2
-rw-r--r--Doc/lib/libtermios.tex2
-rw-r--r--Doc/lib/libtypes.tex2
-rw-r--r--Doc/libcrypto.tex2
-rw-r--r--Doc/libdis.tex2
-rw-r--r--Doc/libtermios.tex2
-rw-r--r--Doc/libtypes.tex2
8 files changed, 8 insertions, 8 deletions
diff --git a/Doc/lib/libcrypto.tex b/Doc/lib/libcrypto.tex
index 5e5e03e..59734ba 100644
--- a/Doc/lib/libcrypto.tex
+++ b/Doc/lib/libcrypto.tex
@@ -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}
diff --git a/Doc/lib/libdis.tex b/Doc/lib/libdis.tex
index ac60fe3..55acab4 100644
--- a/Doc/lib/libdis.tex
+++ b/Doc/lib/libdis.tex
@@ -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
diff --git a/Doc/lib/libtermios.tex b/Doc/lib/libtermios.tex
index ca309c8..1db8af8 100644
--- a/Doc/lib/libtermios.tex
+++ b/Doc/lib/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)
diff --git a/Doc/lib/libtypes.tex b/Doc/lib/libtypes.tex
index 70a619f..fe727e3 100644
--- a/Doc/lib/libtypes.tex
+++ b/Doc/lib/libtypes.tex
@@ -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
diff --git a/Doc/libcrypto.tex b/Doc/libcrypto.tex
index 5e5e03e..59734ba 100644
--- a/Doc/libcrypto.tex
+++ b/Doc/libcrypto.tex
@@ -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}
diff --git a/Doc/libdis.tex b/Doc/libdis.tex
index ac60fe3..55acab4 100644
--- a/Doc/libdis.tex
+++ b/Doc/libdis.tex
@@ -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
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)
diff --git a/Doc/libtypes.tex b/Doc/libtypes.tex
index 70a619f..fe727e3 100644
--- a/Doc/libtypes.tex
+++ b/Doc/libtypes.tex
@@ -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