]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Removed PyMapping_Clear() -- it was wishful thinking and serves no
authorGuido van Rossum <guido@python.org>
Mon, 2 Aug 1999 20:49:37 +0000 (20:49 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 2 Aug 1999 20:49:37 +0000 (20:49 +0000)
great purpose.

Doc/api/api.tex

index a625d14d033425c92d8d2343243dadaf51c3fb08..dfa64c558f19c6200676fbecbf7b913b93a65b2b 100644 (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