Fix typo in dataclasses module (GH-21109)

Automerge-Triggered-By: @matrixise
This commit is contained in:
Jürgen Gmach 2020-06-24 12:46:52 +02:00 committed by GitHub
parent 6c6810d989
commit 80526f6841
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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