Mercurial > cpython-lru_cache-weakref
diff Doc/data/refcounts.dat @ 82542:a0b750ea3397
Add PyDict_SetDefault. (closes #17327)
Patch by Stefan Behnel and I.
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Thu, 07 Mar 2013 22:16:29 -0500 |
| parents | b6f302dfc5eb |
| children | 6d0fd113a2e4 |
line wrap: on
line diff
--- a/Doc/data/refcounts.dat Fri Mar 08 02:33:44 2013 +0100 +++ b/Doc/data/refcounts.dat Thu Mar 07 22:16:29 2013 -0500 @@ -220,6 +220,11 @@ PyDict_GetItemString:PyObject*:p:0: PyDict_GetItemString:char*:key:: +PyDict_SetDefault:PyObject*::0: +PyDict_SetDefault:PyObject*:p:0: +PyDict_SetDefault:PyObject*:key:0:conditionally +1 if inserted into the dict +PyDict_SetDefault:PyObject*:default:0:conditionally +1 if inserted into the dict + PyDict_Items:PyObject*::+1: PyDict_Items:PyObject*:p:0:
