Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e75ffa9

Browse files
committed
Add versionadded to PyDict_SetDefault documentation
It was added for Python 3.4 in a0b750ea3397.
1 parent a793037 commit e75ffa9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Doc/c-api/dict.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ Dictionary Objects
118118
is returned. This function evaluates the hash function of *key* only once,
119119
instead of evaluating it independently for the lookup and the insertion.
120120
121+
.. versionadded:: 3.4
121122
122123
.. c:function:: PyObject* PyDict_Items(PyObject *p)
123124

0 commit comments

Comments
 (0)