Add version annotation for PySequence_ITEM().

This commit is contained in:
Fred Drake 2002-05-23 16:02:28 +00:00
parent bf9cb3ff1a
commit 86228e4ca2
1 changed files with 2 additions and 1 deletions

View File

@ -769,7 +769,8 @@ determination.
Return the \var{i}th element of \var{o} or \NULL on failure. Return the \var{i}th element of \var{o} or \NULL on failure.
Macro form of \cfunction{PySequence_GetItem()} but without checking Macro form of \cfunction{PySequence_GetItem()} but without checking
that \cfunction{PySequence_Check(\var{o})} is true and without that \cfunction{PySequence_Check(\var{o})} is true and without
adjustment for negative indices. adjustment for negative indices.
\versionadded{2.3}
\end{cfuncdesc} \end{cfuncdesc}
\begin{cfuncdesc}{int}{PySequence_Fast_GET_SIZE}{PyObject *o} \begin{cfuncdesc}{int}{PySequence_Fast_GET_SIZE}{PyObject *o}