summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2005-01-19 07:24:34 (GMT)
committerFred Drake <fdrake@acm.org>2005-01-19 07:24:34 (GMT)
commit447083e4d06fc74085c71b4c05e276d4e473701b (patch)
tree72432ac7c5232e498a826dae2883c7f03750bb99
parente612c8ec81f7e17de74572d758ac0bd152f6bd77 (diff)
downloadcpython-447083e4d06fc74085c71b4c05e276d4e473701b.zip
cpython-447083e4d06fc74085c71b4c05e276d4e473701b.tar.gz
cpython-447083e4d06fc74085c71b4c05e276d4e473701b.tar.bz2
fix typeset of vertical bar for PDF format
(closes SF bug #1008998)
-rw-r--r--Doc/lib/libsets.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libsets.tex b/Doc/lib/libsets.tex
index 6d49b16..8085ab1 100644
--- a/Doc/lib/libsets.tex
+++ b/Doc/lib/libsets.tex
@@ -79,7 +79,7 @@ the following operations:
{test whether every element in \var{t} is in \var{s}}
\hline
- \lineiii{\var{s}.union(\var{t})}{\var{s} | \var{t}}
+ \lineiii{\var{s}.union(\var{t})}{\var{s} \textbar{} \var{t}}
{new set with elements from both \var{s} and \var{t}}
\lineiii{\var{s}.intersection(\var{t})}{\var{s} \&\ \var{t}}
{new set with elements common to \var{s} and \var{t}}
@@ -131,7 +131,7 @@ but not found in \class{ImmutableSet}:
\begin{tableiii}{c|c|l}{code}{Operation}{Equivalent}{Result}
\lineiii{\var{s}.union_update(\var{t})}
- {\var{s} |= \var{t}}
+ {\var{s} \textbar= \var{t}}
{return set \var{s} with elements added from \var{t}}
\lineiii{\var{s}.intersection_update(\var{t})}
{\var{s} \&= \var{t}}