◐ Shell
clean mode source ↗

gh-141510: Update PyDict_Copy documentation with note on frozendict by eendebakpt · Pull Request #145249 · python/cpython

Expand Up @@ -82,6 +82,9 @@ Dictionary objects
Return a new dictionary that contains the same key-value pairs as *p*.
.. versionchanged:: next If *p* is a subclass of :class:`frozendict`, the result will be a :class:`frozendict` instance instead of a :class:`dict` instance.
.. c:function:: int PyDict_SetItem(PyObject *p, PyObject *key, PyObject *val)
Expand Down