Fix dataclassses spelling (GH-28837)

This commit is contained in:
Landon Yarrington 2021-10-09 13:17:52 -06:00 committed by GitHub
parent dbd62e74da
commit 5b4a7675bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -1387,7 +1387,7 @@ def make_dataclass(cls_name, fields, *, bases=(), namespace=None, init=True,
ns['__annotations__'] = annotations
# We use `types.new_class()` instead of simply `type()` to allow dynamic creation
# of generic dataclassses.
# of generic dataclasses.
cls = types.new_class(cls_name, bases, {}, exec_body_callback)
# Apply the normal decorator.