We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
PyDict_Copy
frozendict
1 parent 70e16e4 commit 284bbd7Copy full SHA for 284bbd7
1 file changed
Doc/c-api/dict.rst
@@ -82,6 +82,9 @@ Dictionary objects
82
83
Return a new dictionary that contains the same key-value pairs as *p*.
84
85
+ .. versionchanged:: next
86
+ If *p* is a subclass of :class:`frozendict`, the result will be a
87
+ :class:`frozendict` instance instead of a :class:`dict` instance.
88
89
.. c:function:: int PyDict_SetItem(PyObject *p, PyObject *key, PyObject *val)
90
0 commit comments