We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f2b3b0 commit 0522291Copy full SHA for 0522291
Doc/whatsnew/3.8.rst
@@ -227,8 +227,8 @@ collections
227
-----------
228
229
The :meth:`_asdict()` method for :func:`collections.namedtuple` now returns
230
-a :class:`dict` instead of a :class:`collections.OrderedDict`. This works because
231
-regular dicts have guaranteed ordering in since Python 3.7. If the extra
+a :class:`dict` instead of a :class:`collections.OrderedDict`. This works because
+regular dicts have guaranteed ordering since Python 3.7. If the extra
232
features of :class:`OrderedDict` are required, the suggested remediation is
233
to cast the result to the desired type: ``OrderedDict(nt._asdict())``.
234
(Contributed by Raymond Hettinger in :issue:`35864`.)
0 commit comments