summaryrefslogtreecommitdiffstats
path: root/Doc/ref/ref5.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-11-11 06:14:05 (GMT)
committerFred Drake <fdrake@acm.org>2004-11-11 06:14:05 (GMT)
commit2269d865986dae552737fd0ffe86a58dd9f99dab (patch)
treebaa11b32cc7f8259d3927ddaaab826adefeaf318 /Doc/ref/ref5.tex
parentc6864832d70e2fbf05cad555269b1423e40ab73b (diff)
downloadcpython-2269d865986dae552737fd0ffe86a58dd9f99dab.zip
cpython-2269d865986dae552737fd0ffe86a58dd9f99dab.tar.gz
cpython-2269d865986dae552737fd0ffe86a58dd9f99dab.tar.bz2
Fix SF bug #1061770: Manual typesets bit-shift operators as guillemet
Diffstat (limited to 'Doc/ref/ref5.tex')
-rw-r--r--Doc/ref/ref5.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex
index 036533c..091c91c 100644
--- a/Doc/ref/ref5.tex
+++ b/Doc/ref/ref5.tex
@@ -802,9 +802,10 @@ The shifting operations have lower priority than the arithmetic
operations:
\begin{productionlist}
+ % The empty groups below prevent conversion to guillemets.
\production{shift_expr}
{\token{a_expr}
- | \token{shift_expr} ( "<<" | ">>" ) \token{a_expr}}
+ | \token{shift_expr} ( "<{}<" | ">{}>" ) \token{a_expr}}
\end{productionlist}
These operators accept plain or long integers as arguments. The