We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a9351f commit fb2555eCopy full SHA for fb2555e
1 file changed
Doc/c-api/dict.rst
@@ -483,17 +483,15 @@ Ordered Dictionaries
483
^^^^^^^^^^^^^^^^^^^^
484
485
Python's C API provides interface for :class:`collections.OrderedDict` from C.
486
-These APIs are mostly redundant; prefer ``PyDict*`` where possible.
+Since Python 3.7, dictionaries are ordered by default, so there is usually
487
+little need for these functions; prefer ``PyDict*`` where possible.
488
489
490
.. c:var:: PyTypeObject PyODict_Type
491
492
Type object for ordered dictionaries. This is the same object as
493
:class:`collections.OrderedDict` in the Python layer.
494
- Since Python 3.7, dictionaries are ordered by default, so there is usually
495
- little need for this object.
496
-
497
498
.. c:function:: int PyODict_Check(PyObject *od)
499
0 commit comments