summaryrefslogtreecommitdiffstats
path: root/Doc/api
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-08 05:29:18 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-08 05:29:18 (GMT)
commit025f14b72d9d8da16754dbe926ab9a8401ce2b19 (patch)
treeeebe0e8b895a9d4eedbf92ab9f2f996a2a76fe61 /Doc/api
parent8f4d255b676d6a3cbd3501b3c3489e44db86197b (diff)
downloadcpython-025f14b72d9d8da16754dbe926ab9a8401ce2b19.zip
cpython-025f14b72d9d8da16754dbe926ab9a8401ce2b19.tar.gz
cpython-025f14b72d9d8da16754dbe926ab9a8401ce2b19.tar.bz2
Move version added tag from PyObject_Length/Size to PyNumber_Index.
Diffstat (limited to 'Doc/api')
-rw-r--r--Doc/api/abstract.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/api/abstract.tex b/Doc/api/abstract.tex
index 320275c..f01512c 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}}