From: Jürgen Gmach Date: Wed, 24 Jun 2020 10:46:52 +0000 (+0200) Subject: Fix typo in dataclasses module (GH-21109) X-Git-Tag: v3.10.0a1~527 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=80526f68411a9406a9067095fbf6a0f88047cac5;p=thirdparty%2FPython%2Fcpython.git Fix typo in dataclasses module (GH-21109) Automerge-Triggered-By: @matrixise --- 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