Fred's right -- we need PyList_SET_ITEM().

This commit is contained in:
Guido van Rossum 1998-04-24 18:22:02 +00:00
parent 7b7a2c2e11
commit a937d14898
4 changed files with 12 additions and 1 deletions

View file

@ -1953,6 +1953,11 @@ Returns a new tuple object containing the contents of \var{list}.
Macro form of \cfunction{PyList_GetItem()} without error checking.
\end{cfuncdesc}
\begin{cfuncdesc}{PyObject*}{PyList_SET_ITEM}{PyObject *list, int i,
PyObject *o}
Macro form of \cfunction{PyList_SetItem()} without error checking.
\end{cfuncdesc}
\begin{cfuncdesc}{int}{PyList_GET_SIZE}{PyObject *list}
Macro form of \cfunction{PyList_GetSize()} without error checking.
\end{cfuncdesc}