summaryrefslogtreecommitdiffstats
path: root/Doc/data
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2013-03-08 03:16:29 (GMT)
committerBenjamin Peterson <benjamin@python.org>2013-03-08 03:16:29 (GMT)
commit00e9886bd90490e1afc729a1abac384ba70fa6a1 (patch)
tree40c539d4a7866de9d9838a64c68e4a89c13d5a91 /Doc/data
parent763edc1c6a5a212f876c5b6b018a1d2d2054a334 (diff)
downloadcpython-00e9886bd90490e1afc729a1abac384ba70fa6a1.zip
cpython-00e9886bd90490e1afc729a1abac384ba70fa6a1.tar.gz
cpython-00e9886bd90490e1afc729a1abac384ba70fa6a1.tar.bz2
Add PyDict_SetDefault. (closes #17327)
Patch by Stefan Behnel and I.
Diffstat (limited to 'Doc/data')
-rw-r--r--Doc/data/refcounts.dat5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/data/refcounts.dat b/Doc/data/refcounts.dat
index fac89af..e299050 100644
--- a/Doc/data/refcounts.dat
+++ b/Doc/data/refcounts.dat
@@ -220,6 +220,11 @@ PyDict_GetItemString:PyObject*::0:
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: