summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-06-24 11:14:10 (GMT)
committerGitHub <noreply@github.com>2020-06-24 11:14:10 (GMT)
commit0029099decbf0272cea837b029662bee1ee3e4d4 (patch)
tree7f4c8547806f7b3deba23498503b26ad7207acfc /Lib
parent4f5dde463b588fc97cacb4a1905eb422b16daa37 (diff)
downloadcpython-0029099decbf0272cea837b029662bee1ee3e4d4.zip
cpython-0029099decbf0272cea837b029662bee1ee3e4d4.tar.gz
cpython-0029099decbf0272cea837b029662bee1ee3e4d4.tar.bz2
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@googlemail.com> Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com>
Diffstat (limited to 'Lib')
-rw-r--r--Lib/dataclasses.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/dataclasses.py b/Lib/dataclasses.py
index 74f7929..10bb33e 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