Fix dataclassses spelling (GH-28837) (GH-28841)
(cherry picked from commit 5b4a7675bcfc6368aff955f4a6231579718f5dad)
Co-authored-by: Landon Yarrington <33426811+jly36963@users.noreply.github.com>
Co-authored-by: Landon Yarrington <33426811+jly36963@users.noreply.github.com>
diff --git a/Lib/dataclasses.py b/Lib/dataclasses.py
index 7973997..aa84f1b 100644
--- a/Lib/dataclasses.py
+++ b/Lib/dataclasses.py
@@ -1387,7 +1387,7 @@ def exec_body_callback(ns):
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.