summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-06-24 11:13:57 (GMT)
committerGitHub <noreply@github.com>2020-06-24 11:13:57 (GMT)
commit4b80cfbaf6848af50c4ea8b2544e3306a3b0b64c (patch)
tree2e4476d8d631f43e4c83abde7c3ca63b253d59d2
parent02d5c74f89709672baa866fcdd04278e59328351 (diff)
downloadcpython-4b80cfbaf6848af50c4ea8b2544e3306a3b0b64c.zip
cpython-4b80cfbaf6848af50c4ea8b2544e3306a3b0b64c.tar.gz
cpython-4b80cfbaf6848af50c4ea8b2544e3306a3b0b64c.tar.bz2
Fix typo in dataclasses module (GH-21109) (#21110)
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>
-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