]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in dataclasses module (GH-21109)
authorJürgen Gmach <juergen.gmach@googlemail.com>
Wed, 24 Jun 2020 10:46:52 +0000 (12:46 +0200)
committerGitHub <noreply@github.com>
Wed, 24 Jun 2020 10:46:52 +0000 (03:46 -0700)
Automerge-Triggered-By: @matrixise
Lib/dataclasses.py

index fc69508354bbe86dcd8362f88f81495cef3ac330..530d3e99574e8ea75f74317b22be637cc83a850a 100644 (file)
@@ -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