summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/api/abstract.tex7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/api/abstract.tex b/Doc/api/abstract.tex
index 0e25afa..e4f299d 100644
--- a/Doc/api/abstract.tex
+++ b/Doc/api/abstract.tex
@@ -765,6 +765,13 @@ determination.
and that \var{i} is within bounds.
\end{cfuncdesc}
+\begin{cfuncdesc}{PyObject*}{PySequence_ITEM}{PyObject *o, int i}
+ 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.
+\end{cfuncdesc}
+
\begin{cfuncdesc}{int}{PySequence_Fast_GET_SIZE}{PyObject *o}
Returns the length of \var{o}, assuming that \var{o} was
returned by \cfunction{PySequence_Fast()} and that \var{o} is