From: Guido van Rossum Date: Mon, 2 Aug 1999 20:49:37 +0000 (+0000) Subject: Removed PyMapping_Clear() -- it was wishful thinking and serves no X-Git-Tag: v1.6a1~1038 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=32bc45f737cf928a98f4a9210d8162ca828eacd4;p=thirdparty%2FPython%2Fcpython.git Removed PyMapping_Clear() -- it was wishful thinking and serves no great purpose. --- diff --git a/Doc/api/api.tex b/Doc/api/api.tex index a625d14d0334..dfa64c558f19 100644 --- a/Doc/api/api.tex +++ b/Doc/api/api.tex @@ -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