Commit 025f14b7 authored by Neal Norwitz's avatar Neal Norwitz

Move version added tag from PyObject_Length/Size to PyNumber_Index.

parent 8f4d255b
......@@ -346,7 +346,6 @@ determination.
either the sequence and mapping protocols, the sequence length is
returned. On error, \code{-1} is returned. This is the equivalent
to the Python expression \samp{len(\var{o})}.\bifuncindex{len}
\versionadded{2.5}
\end{cfuncdesc}
......@@ -693,6 +692,7 @@ determination.
\begin{cfuncdesc}{Py_ssize_t}{PyNumber_Index}{PyObject *o}
Returns the \var{o} converted to a Py_ssize_t integer on success, or
-1 with an exception raised on failure.
\versionadded{2.5}
\end{cfuncdesc}
\section{Sequence Protocol \label{sequence}}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment