Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d20d8b3

Browse files
committed
Work around the conversion of ">>" and "<<" to guillemets. Reported by Ping.
1 parent a4553c0 commit d20d8b3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/api/api.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1721,14 +1721,14 @@ \section{Number Protocol \label{number}}
17211721
\begin{cfuncdesc}{PyObject*}{PyNumber_Lshift}{PyObject *o1, PyObject *o2}
17221722
Returns the result of left shifting \var{o1} by \var{o2} on success,
17231723
or \NULL{} on failure. This is the equivalent of the Python
1724-
expression \samp{\var{o1} << \var{o2}}.
1724+
expression \samp{\var{o1} <\code{<} \var{o2}}.
17251725
\end{cfuncdesc}
17261726

17271727

17281728
\begin{cfuncdesc}{PyObject*}{PyNumber_Rshift}{PyObject *o1, PyObject *o2}
17291729
Returns the result of right shifting \var{o1} by \var{o2} on success,
17301730
or \NULL{} on failure. This is the equivalent of the Python
1731-
expression \samp{\var{o1} >> \var{o2}}.
1731+
expression \samp{\var{o1} >\code{>} \var{o2}}.
17321732
\end{cfuncdesc}
17331733

17341734

@@ -1802,15 +1802,15 @@ \section{Number Protocol \label{number}}
18021802
Returns the result of left shifting \var{o1} by \var{o2} on success, or
18031803
\NULL{} on failure. The operation is done \emph{in-place} when \var{o1}
18041804
supports it. This is the equivalent of the Python expression \samp{\var{o1}
1805-
<<= \var{o2}}.
1805+
<\code{<=} \var{o2}}.
18061806
\end{cfuncdesc}
18071807

18081808

18091809
\begin{cfuncdesc}{PyObject*}{PyNumber_InPlaceRshift}{PyObject *o1, PyObject *o2}
18101810
Returns the result of right shifting \var{o1} by \var{o2} on success, or
18111811
\NULL{} on failure. The operation is done \emph{in-place} when \var{o1}
18121812
supports it. This is the equivalent of the Python expression \samp{\var{o1}
1813-
>>= \var{o2}}.
1813+
>\code{>=} \var{o2}}.
18141814
\end{cfuncdesc}
18151815

18161816

0 commit comments

Comments
 (0)