Skip to content

Commit fcaf638

Browse files
committed
Fix PyODict_CheckExact() description.
1 parent b69ecac commit fcaf638

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/c-api/dict.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,8 +502,9 @@ little need for these functions; prefer ``PyDict*`` where possible.
502502
503503
.. c:function:: int PyODict_CheckExact(PyObject *od)
504504
505-
Return true if *od* is a dict object, but not an instance of a subtype of
506-
the :class:`~collections.OrderedDict` type. This function always succeeds.
505+
Return true if *od* is an ordered dictionary object, but not an instance of
506+
a subtype of the :class:`~collections.OrderedDict` type.
507+
This function always succeeds.
507508
508509
509510
.. c:var:: PyTypeObject PyODictKeys_Type

0 commit comments

Comments
 (0)