File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1721,14 +1721,14 @@ \section{Number Protocol \label{number}}
17211721\begin {cfuncdesc }{PyObject*}{PyNumber_Lshift}{PyObject *o1, PyObject *o2}
17221722Returns the result of left shifting \var {o1} by \var {o2} on success,
17231723or \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}
17291729Returns the result of right shifting \var {o1} by \var {o2} on success,
17301730or \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}}
18021802Returns 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}
18041804supports 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}
18101810Returns 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}
18121812supports it. This is the equivalent of the Python expression \samp {\var {o1}
1813- >>= \var {o2}}.
1813+ >\code {>=} \var {o2}}.
18141814\end {cfuncdesc }
18151815
18161816
You can’t perform that action at this time.
0 commit comments