From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 24 Jun 2020 11:13:57 +0000 (-0700) Subject: Fix typo in dataclasses module (GH-21109) (#21110) X-Git-Tag: v3.9.0b4~45 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4b80cfbaf6848af50c4ea8b2544e3306a3b0b64c;p=thirdparty%2FPython%2Fcpython.git Fix typo in dataclasses module (GH-21109) (#21110) 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 fc69508354bb..530d3e99574e 100644 --- a/Lib/dataclasses.py +++ b/Lib/dataclasses.py @@ -1094,7 +1094,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