bpo-33502: dataclass._Dataclassparams repr: use repr of each member. (GH-6812)
(cherry picked from commit 3059042410dce69806b94be72d5c8055d616f3a3)
Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
diff --git a/f.py b/f.py
new file mode 100644
index 0000000..02a3668
--- /dev/null
+++ b/f.py
@@ -0,0 +1,12 @@
+from __future__ import annotations
+from dataclasses import dataclass
+from typing import List
+from typing import ClassVar as CV
+
+@dataclass
+class A:
+ a: List[str]
+
+@dataclass
+class B(A):
+ b: CV[int]