Commit 32bc45f7 authored by Guido van Rossum's avatar Guido van Rossum

Removed PyMapping_Clear() -- it was wishful thinking and serves no

great purpose.
parent 83c0983b
......@@ -1613,12 +1613,6 @@ failure, return \NULL{}. This is equivalent to the Python
expression \samp{\var{o}.items()}.
\end{cfuncdesc}
\begin{cfuncdesc}{int}{PyMapping_Clear}{PyObject *o}
Make object \var{o} empty. Returns \code{1} on success and \code{0}
on failure. This is equivalent to the Python statement
\samp{for key in \var{o}.keys(): del \var{o}[key]}.
\end{cfuncdesc}
\begin{cfuncdesc}{PyObject*}{PyMapping_GetItemString}{PyObject *o, char *key}
Return element of \var{o} corresponding to the object \var{key} or
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment