diff options
author | Daniel Porteous <dport@fb.com> | 2019-05-02 04:20:59 -0400 |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-05-02 01:20:58 -0700 |
commit | 05222914403c1e2a656c753fbcd20f844af9dd69 (patch) | |
tree | d4d0993d8acda9cc753be7901ca8ad27356ca685 | |
parent | 5f2b3b036744d8a397e9c3c32186b9fdb8cf106a (diff) | |
download | cpython-git-05222914403c1e2a656c753fbcd20f844af9dd69.tar.gz |
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.
-rw-r--r-- | Doc/whatsnew/3.8.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index c958fc36d6..82be92786a 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`.) |