[Python-checkins] (no subject)

Jürgen Gmach webhook-mailer at python.org
Wed Jun 24 06:47:22 EDT 2020




To: python-checkins at python.org
Subject: Fix typo in dataclasses module (GH-21109)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

https://github.com/python/cpython/commit/80526f68411a9406a9067095fbf6a0f88047=
cac5
commit: 80526f68411a9406a9067095fbf6a0f88047cac5
branch: master
author: J=C3=BCrgen Gmach <juergen.gmach at googlemail.com>
committer: GitHub <noreply at github.com>
date: 2020-06-24T03:46:52-07:00
summary:

Fix typo in dataclasses module (GH-21109)



Automerge-Triggered-By: @matrixise

files:
M Lib/dataclasses.py

diff --git a/Lib/dataclasses.py b/Lib/dataclasses.py
index fc69508354bbe..530d3e99574e8 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



More information about the Python-checkins mailing list