Move version added tag from PyObject_Length/Size to PyNumber_Index.

This commit is contained in:
Neal Norwitz 2006-03-08 05:29:18 +00:00
parent 8f4d255b67
commit 025f14b72d
1 changed files with 1 additions and 1 deletions

View File

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