From: Daniel Porteous Date: Thu, 2 May 2019 08:20:59 +0000 (-0400) Subject: Fix tiny tiny typo in 3.8 what's new (GH-13049) X-Git-Tag: v3.8.0a4~34 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=05222914403c1e2a656c753fbcd20f844af9dd69;p=thirdparty%2FPython%2Fcpython.git Fix tiny tiny typo in 3.8 what's new (GH-13049) I feel silly even making such a tiny typo fix, but I couldn't help but notice it. --- diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index c958fc36d667..82be92786ab0 100644 --- a/Doc/whatsnew/3.8.rst +++ b/Doc/whatsnew/3.8.rst @@ -227,8 +227,8 @@ collections ----------- The :meth:`_asdict()` method for :func:`collections.namedtuple` now returns -a :class:`dict` instead of a :class:`collections.OrderedDict`. This works because -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 features of :class:`OrderedDict` are required, the suggested remediation is to cast the result to the desired type: ``OrderedDict(nt._asdict())``. (Contributed by Raymond Hettinger in :issue:`35864`.)