Skip to content

Commit 0522291

Browse files
Daniel Porteousmiss-islington
authored andcommitted
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.
1 parent 5f2b3b0 commit 0522291

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/whatsnew/3.8.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ collections
227227
-----------
228228

229229
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
230+
a :class:`dict` instead of a :class:`collections.OrderedDict`. This works because
231+
regular dicts have guaranteed ordering since Python 3.7. If the extra
232232
features of :class:`OrderedDict` are required, the suggested remediation is
233233
to cast the result to the desired type: ``OrderedDict(nt._asdict())``.
234234
(Contributed by Raymond Hettinger in :issue:`35864`.)

0 commit comments

Comments
 (0)