Skip to content

Commit 025f14b

Browse files
committed
Move version added tag from PyObject_Length/Size to PyNumber_Index.
1 parent 8f4d255 commit 025f14b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/api/abstract.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,6 @@ \section{Object Protocol \label{object}}
346346
either the sequence and mapping protocols, the sequence length is
347347
returned. On error, \code{-1} is returned. This is the equivalent
348348
to the Python expression \samp{len(\var{o})}.\bifuncindex{len}
349-
\versionadded{2.5}
350349
\end{cfuncdesc}
351350

352351

@@ -693,6 +692,7 @@ \section{Number Protocol \label{number}}
693692
\begin{cfuncdesc}{Py_ssize_t}{PyNumber_Index}{PyObject *o}
694693
Returns the \var{o} converted to a Py_ssize_t integer on success, or
695694
-1 with an exception raised on failure.
695+
\versionadded{2.5}
696696
\end{cfuncdesc}
697697

698698
\section{Sequence Protocol \label{sequence}}

0 commit comments

Comments
 (0)