Mercurial > cpython-lru_cache-weakref
diff Doc/api/api.tex @ 12126:e6214ad2a60c legacy-trunk
Add PyDict_Copy() function to C API for dicts. It returns a new
dictionary that contains the same key/value pairs as p.
| author | Jeremy Hylton <jeremy@alum.mit.edu> |
|---|---|
| date | Thu, 30 Mar 2000 22:27:31 +0000 |
| parents | a05a05602902 |
| children | 42f21e47b486 |
line wrap: on
line diff
--- a/Doc/api/api.tex Thu Mar 30 21:27:30 2000 +0000 +++ b/Doc/api/api.tex Thu Mar 30 22:27:31 2000 +0000 @@ -2081,6 +2081,10 @@ Returns a new empty dictionary. \end{cfuncdesc} +\begin{cfuncdesc}{PyObject*}{PyDict_Copy}{PyObject *p} +Returns a new dictionary that contains the same key/value pairs as p. +\end{cfuncdesc} + \begin{cfuncdesc}{void}{PyDict_Clear}{PyDictObject *p} Empties an existing dictionary of all key/value pairs. \end{cfuncdesc}
