mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
Removed PyMapping_Clear() -- it was wishful thinking and serves no
great purpose.
This commit is contained in:
parent
83c0983bf6
commit
32bc45f737
1 changed files with 0 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue