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

great purpose.
This commit is contained in:
Guido van Rossum 1999-08-02 20:49:37 +00:00
parent 83c0983bf6
commit 32bc45f737
1 changed files with 0 additions and 6 deletions

View File

@ -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