Skip to content

Commit de6b0b7

Browse files
committed
Complete PyDict_Copy() documentation
1 parent 91e9506 commit de6b0b7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Doc/c-api/dict.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,12 @@ Dictionary objects
8282

8383
Return a new dictionary that contains the same key-value pairs as *p*.
8484

85+
If the argument is a :class:`frozendict`, convert it to a :class:`dict`
86+
(create a copy).
87+
88+
.. versionchanged:: next
89+
Accept also :class:`frozendict` type.
90+
8591
.. c:function:: int PyDict_SetItem(PyObject *p, PyObject *key, PyObject *val)
8692

8793
Insert *val* into the dictionary *p* with a key of *key*. *key* must be

0 commit comments

Comments
 (0)