File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -483,17 +483,15 @@ Ordered Dictionaries
483483^^^^^^^^^^^^^^^^^^^^
484484
485485Python's C API provides interface for :class: `collections.OrderedDict ` from C.
486- These APIs are mostly redundant; prefer ``PyDict* `` where possible.
486+ Since Python 3.7, dictionaries are ordered by default, so there is usually
487+ little need for these functions; prefer ``PyDict* `` where possible.
487488
488489
489490.. c :var :: PyTypeObject PyODict_Type
490491
491492 Type object for ordered dictionaries. This is the same object as
492493 :class: `collections.OrderedDict ` in the Python layer.
493494
494- Since Python 3.7, dictionaries are ordered by default, so there is usually
495- little need for this object.
496-
497495
498496.. c :function :: int PyODict_Check (PyObject *od)
499497
You can’t perform that action at this time.
0 commit comments