[Python-checkins] r42908 - python/trunk/Doc/api/abstract.tex
neal.norwitz
python-checkins at python.org
Wed Mar 8 06:29:18 CET 2006
Author: neal.norwitz
Date: Wed Mar 8 06:29:18 2006
New Revision: 42908
Modified:
python/trunk/Doc/api/abstract.tex
Log:
Move version added tag from PyObject_Length/Size to PyNumber_Index.
Modified: python/trunk/Doc/api/abstract.tex
==============================================================================
--- python/trunk/Doc/api/abstract.tex (original)
+++ python/trunk/Doc/api/abstract.tex Wed Mar 8 06:29:18 2006
@@ -346,7 +346,6 @@
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 @@
\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}}
More information about the Python-checkins
mailing list