]> granicus.if.org Git - python/commitdiff
Move version added tag from PyObject_Length/Size to PyNumber_Index.
authorNeal Norwitz <nnorwitz@gmail.com>
Wed, 8 Mar 2006 05:29:18 +0000 (05:29 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Wed, 8 Mar 2006 05:29:18 +0000 (05:29 +0000)
Doc/api/abstract.tex

index 320275c406ef5317058702167364713fa24fc6b6..f01512c9e420c7635b74bb83351b660ab1f1ccbe 100644 (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}}