Mercurial > cpython-lru_cache-weakref
diff Doc/api/api.tex @ 17480:04daee3ab627 legacy-trunk
Work around the conversion of ">>" and "<<" to guillemets. Reported by Ping.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Fri, 13 Apr 2001 14:52:39 +0000 |
| parents | 2146a73ce35c |
| children | 8e1415ef9b28 |
line wrap: on
line diff
--- a/Doc/api/api.tex Fri Apr 13 14:36:51 2001 +0000 +++ b/Doc/api/api.tex Fri Apr 13 14:52:39 2001 +0000 @@ -1721,14 +1721,14 @@ \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 @@ 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 @@ 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}
