We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c6810d commit 80526f6Copy full SHA for 80526f6
Lib/dataclasses.py
@@ -1094,7 +1094,7 @@ def _asdict_inner(obj, dict_factory):
1094
# method, because:
1095
# - it does not recurse in to the namedtuple fields and
1096
# convert them to dicts (using dict_factory).
1097
- # - 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
1098
# use case here is json.dumps, and it handles converting
1099
# namedtuples to lists. Admittedly we're losing some
1100
# information here when we produce a json list instead of a
0 commit comments