summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-07-05 14:08:29 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-07-05 14:08:29 (GMT)
commite75ffa965ba1857038832598420ddc85e9f5ad7c (patch)
treef2a9dba3790325ccfe7f7948225f3d282e1d1175
parenta793037d803abf098d172f686e2b95d27863c54d (diff)
downloadcpython-e75ffa965ba1857038832598420ddc85e9f5ad7c.zip
cpython-e75ffa965ba1857038832598420ddc85e9f5ad7c.tar.gz
cpython-e75ffa965ba1857038832598420ddc85e9f5ad7c.tar.bz2
Add versionadded to PyDict_SetDefault documentation
It was added for Python 3.4 in a0b750ea3397.
-rw-r--r--Doc/c-api/dict.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/c-api/dict.rst b/Doc/c-api/dict.rst
index aeff640..cfa5e13 100644
--- a/Doc/c-api/dict.rst
+++ b/Doc/c-api/dict.rst
@@ -118,6 +118,7 @@ Dictionary Objects
is returned. This function evaluates the hash function of *key* only once,
instead of evaluating it independently for the lookup and the insertion.
+ .. versionadded:: 3.4
.. c:function:: PyObject* PyDict_Items(PyObject *p)