Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PyDict_Copy
frozendict
1 parent e234662 commit 4401f23Copy full SHA for 4401f23
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