[Python-checkins] Fix typo in dataclasses module (GH-21109) (#21111)

Miss Islington (bot) webhook-mailer at python.org
Wed Jun 24 07:14:15 EDT 2020


https://github.com/python/cpython/commit/0029099decbf0272cea837b029662bee1ee3e4d4
commit: 0029099decbf0272cea837b029662bee1ee3e4d4
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-06-24T07:14:10-04:00
summary:

Fix typo in dataclasses module (GH-21109) (#21111)

Automerge-Triggered-By: @matrixise
(cherry picked from commit 80526f68411a9406a9067095fbf6a0f88047cac5)

Co-authored-by: Jürgen Gmach <juergen.gmach at googlemail.com>

Co-authored-by: Jürgen Gmach <juergen.gmach at googlemail.com>

files:
M Lib/dataclasses.py

diff --git a/Lib/dataclasses.py b/Lib/dataclasses.py
index 74f79294e81bd..10bb33e3746a8 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



More information about the Python-checkins mailing list