summaryrefslogtreecommitdiffstats
path: root/Doc/api/api.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-04-13 14:52:39 (GMT)
committerFred Drake <fdrake@acm.org>2001-04-13 14:52:39 (GMT)
commitd20d8b319c237e29c7a4e3e5c9da81c2bd7a7a04 (patch)
treed3415de14617457a04292e468a7a741fdc565901 /Doc/api/api.tex
parenta4553c04fdea55b09beef6e364ccdaa9350f8ea4 (diff)
downloadcpython-d20d8b319c237e29c7a4e3e5c9da81c2bd7a7a04.zip
cpython-d20d8b319c237e29c7a4e3e5c9da81c2bd7a7a04.tar.gz
cpython-d20d8b319c237e29c7a4e3e5c9da81c2bd7a7a04.tar.bz2
Work around the conversion of ">>" and "<<" to guillemets. Reported by Ping.
Diffstat (limited to 'Doc/api/api.tex')
-rw-r--r--Doc/api/api.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/api/api.tex b/Doc/api/api.tex
index b07c291..8e7efcb 100644
--- a/Doc/api/api.tex
+++ b/Doc/api/api.tex
@@ -1721,14 +1721,14 @@ failure. This is the equivalent of the Python expression
\begin{cfuncdesc}{PyObject*}{PyNumber_Lshift}{PyObject *o1, PyObject *o2}
Returns the result of left shifting \var{o1} by \var{o2} on success,
or \NULL{} on failure. This is the equivalent of the Python
-expression \samp{\var{o1} << \var{o2}}.
+expression \samp{\var{o1} <\code{<} \var{o2}}.
\end{cfuncdesc}
\begin{cfuncdesc}{PyObject*}{PyNumber_Rshift}{PyObject *o1, PyObject *o2}
Returns the result of right shifting \var{o1} by \var{o2} on success,
or \NULL{} on failure. This is the equivalent of the Python
-expression \samp{\var{o1} >> \var{o2}}.
+expression \samp{\var{o1} >\code{>} \var{o2}}.
\end{cfuncdesc}
@@ -1802,7 +1802,7 @@ would cause an illegal memory access).
Returns the result of left shifting \var{o1} by \var{o2} on success, or
\NULL{} on failure. The operation is done \emph{in-place} when \var{o1}
supports it. This is the equivalent of the Python expression \samp{\var{o1}
-<<= \var{o2}}.
+<\code{<=} \var{o2}}.
\end{cfuncdesc}
@@ -1810,7 +1810,7 @@ supports it. This is the equivalent of the Python expression \samp{\var{o1}
Returns the result of right shifting \var{o1} by \var{o2} on success, or
\NULL{} on failure. The operation is done \emph{in-place} when \var{o1}
supports it. This is the equivalent of the Python expression \samp{\var{o1}
->>= \var{o2}}.
+>\code{>=} \var{o2}}.
\end{cfuncdesc}