diff options
author | Guido van Rossum <guido@python.org> | 1999-08-02 20:49:37 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-08-02 20:49:37 (GMT) |
commit | 32bc45f737cf928a98f4a9210d8162ca828eacd4 (patch) | |
tree | 46da3a3d4fa01f9e20d4733c0b03067abf34aaab | |
parent | 83c0983bf693cde505adbfad11a336d8390fe334 (diff) | |
download | cpython-32bc45f737cf928a98f4a9210d8162ca828eacd4.zip cpython-32bc45f737cf928a98f4a9210d8162ca828eacd4.tar.gz cpython-32bc45f737cf928a98f4a9210d8162ca828eacd4.tar.bz2 |
Removed PyMapping_Clear() -- it was wishful thinking and serves no
great purpose.
-rw-r--r-- | Doc/api/api.tex | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Doc/api/api.tex b/Doc/api/api.tex index a625d14..dfa64c5 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 |