From: Neal Norwitz Date: Wed, 8 Mar 2006 05:29:18 +0000 (+0000) Subject: Move version added tag from PyObject_Length/Size to PyNumber_Index. X-Git-Tag: v2.5a0~323 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=025f14b72d9d8da16754dbe926ab9a8401ce2b19;p=thirdparty%2FPython%2Fcpython.git Move version added tag from PyObject_Length/Size to PyNumber_Index. --- diff --git a/Doc/api/abstract.tex b/Doc/api/abstract.tex index 320275c406ef..f01512c9e420 100644 --- a/Doc/api/abstract.tex +++ b/Doc/api/abstract.tex @@ -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}}