summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJürgen Gmach <juergen.gmach@googlemail.com>2020-06-24 10:46:52 (GMT)
committerGitHub <noreply@github.com>2020-06-24 10:46:52 (GMT)
commit80526f68411a9406a9067095fbf6a0f88047cac5 (patch)
tree587b9fc208ae9b30b1470c156b5e31b233c3e1ac
parent6c6810d98979add7a89391c3c38990d0859f7a29 (diff)
downloadcpython-80526f68411a9406a9067095fbf6a0f88047cac5.zip
cpython-80526f68411a9406a9067095fbf6a0f88047cac5.tar.gz
cpython-80526f68411a9406a9067095fbf6a0f88047cac5.tar.bz2
Fix typo in dataclasses module (GH-21109)
Automerge-Triggered-By: @matrixise
-rw-r--r--Lib/dataclasses.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/dataclasses.py b/Lib/dataclasses.py
index fc69508..530d3e9 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