]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add versionadded to PyDict_SetDefault documentation
authorBerker Peksag <berker.peksag@gmail.com>
Tue, 5 Jul 2016 14:08:29 +0000 (17:08 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Tue, 5 Jul 2016 14:08:29 +0000 (17:08 +0300)
It was added for Python 3.4 in a0b750ea3397.

Doc/c-api/dict.rst

index aeff640564b0ce9e953189f8749388e1a4b2cfc3..cfa5e13b9feef8a21d16c6178be7b60771931a7b 100644 (file)
@@ -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)