Commits

Fred Drake  committed 04daee3

Work around the conversion of ">>" and "<<" to guillemets. Reported by Ping.

  • Participants
  • Parent commits ed07d6a
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Doc/api/api.tex

 \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}
 
 
 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}
 
 
 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}