mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Add version annotation for PySequence_ITEM().
This commit is contained in:
parent
bf9cb3ff1a
commit
86228e4ca2
1 changed files with 2 additions and 1 deletions
|
@ -769,7 +769,8 @@ determination.
|
|||
Return the \var{i}th element of \var{o} or \NULL on failure.
|
||||
Macro form of \cfunction{PySequence_GetItem()} but without checking
|
||||
that \cfunction{PySequence_Check(\var{o})} is true and without
|
||||
adjustment for negative indices.
|
||||
adjustment for negative indices.
|
||||
\versionadded{2.3}
|
||||
\end{cfuncdesc}
|
||||
|
||||
\begin{cfuncdesc}{int}{PySequence_Fast_GET_SIZE}{PyObject *o}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue