summaryrefslogtreecommitdiff
path: root/Doc/ref/ref5.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-04-05 21:32:52 +0000
committerFred Drake <fdrake@acm.org>1999-04-05 21:32:52 +0000
commitb55ce1e8b64e5440dd577d7985ac91c9030de73c (patch)
tree0a1e7e9d2a2af083957e442429f0c4f80ae8cd4c /Doc/ref/ref5.tex
parent52e2d51ef3015168fa34c8a6b4aa8c9d6835ef2e (diff)
downloadcpython-git-b55ce1e8b64e5440dd577d7985ac91c9030de73c.tar.gz
Fixed latex2html weirdness with footnotes.
Diffstat (limited to 'Doc/ref/ref5.tex')
-rw-r--r--Doc/ref/ref5.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex
index b6579bc4c8..50d0aee6d1 100644
--- a/Doc/ref/ref5.tex
+++ b/Doc/ref/ref5.tex
@@ -718,8 +718,8 @@ corresponding items.
\item
Mappings (dictionaries) are compared through lexicographic
-comparison of their sorted (key, value) lists.%
-\footnote{This is expensive since it requires sorting the keys first,
+comparison of their sorted (key, value) lists.\footnote{
+This is expensive since it requires sorting the keys first,
but it is about the only sensible definition. An earlier version of
Python compared dictionaries by identity only, but this caused
surprises because people expected to be able to test a dictionary for
@@ -739,8 +739,8 @@ true if and only if there exists an index \var{i} such that
\code{\var{x} = \var{y}[\var{i}]}.
\code{\var{x} not in \var{y}} yields the inverse truth value. The
exception \exception{TypeError} is raised when \var{y} is not a sequence,
-or when \var{y} is a string and \var{x} is not a string of length one.%
-\footnote{The latter restriction is sometimes a nuisance.}
+or when \var{y} is a string and \var{x} is not a string of length
+one.\footnote{The latter restriction is sometimes a nuisance.}
\opindex{in}
\opindex{not in}
\indexii{membership}{test}