From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 24 Jun 2020 11:14:10 +0000 (-0700) Subject: Fix typo in dataclasses module (GH-21109) (#21111) X-Git-Tag: v3.8.4rc1~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0029099decbf0272cea837b029662bee1ee3e4d4;p=thirdparty%2FPython%2Fcpython.git Fix typo in dataclasses module (GH-21109) (#21111) Automerge-Triggered-By: @matrixise (cherry picked from commit 80526f68411a9406a9067095fbf6a0f88047cac5) Co-authored-by: Jürgen Gmach Co-authored-by: Jürgen Gmach --- diff --git a/Lib/dataclasses.py b/Lib/dataclasses.py index 74f79294e81b..10bb33e3746a 100644 --- a/Lib/dataclasses.py +++ b/Lib/dataclasses.py @@ -1092,7 +1092,7 @@ def _asdict_inner(obj, dict_factory): # method, because: # - it does not recurse in to the namedtuple fields and # convert them to dicts (using dict_factory). - # - I don't actually want to return a dict here. The the main + # - I don't actually want to return a dict here. The main # use case here is json.dumps, and it handles converting # namedtuples to lists. Admittedly we're losing some # information here when we produce a json list instead of a