Skip to content

Commit 75d8bed

Browse files
committed
Complete PyDict_Clear() documentation
1 parent 826c0e9 commit 75d8bed

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Doc/c-api/dict.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ Dictionary objects
5858
5959
Empty an existing dictionary of all key-value pairs.
6060
61+
Do nothing if the argument is not a :class:`dict` or a :class:`!dict`
62+
subclass.
63+
6164
6265
.. c:function:: int PyDict_Contains(PyObject *p, PyObject *key)
6366

0 commit comments

Comments
 (0)