Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f42a6d commit 12c484dCopy full SHA for 12c484d
1 file changed
Doc/api/abstract.tex
@@ -754,7 +754,8 @@ \section{Sequence Protocol \label{sequence}}
754
\begin{cfuncdesc}{int}{PySequence_SetItem}{PyObject *o, int i, PyObject *v}
755
Assign object \var{v} to the \var{i}th element of \var{o}. Returns
756
\code{-1} on failure. This is the equivalent of the Python
757
- statement \samp{\var{o}[\var{i}] = \var{v}}.
+ statement \samp{\var{o}[\var{i}] = \var{v}}. This function \emph{does not}
758
+ steal a reference to \var{v}.
759
\end{cfuncdesc}
760
761
\begin{cfuncdesc}{int}{PySequence_DelItem}{PyObject *o, int i}
0 commit comments