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/x.py b/x.py
new file mode 100644
index 0000000..2b78f3e
--- /dev/null
+++ b/x.py
@@ -0,0 +1,31 @@
+#from __future__ import annotations
+from typing import ClassVar, Dict, get_type_hints
+from dataclasses import *
+
+class Starship:
+    stats: ClassVar[Dict[str, int]] = {}
+
+#print(get_type_hints(Starship))
+
+#class A:
+#    a: Dict[int, C]
+
+#print(get_type_hints(A))
+
+cv = [ClassVar[int]]
+
+@dataclass
+class C:
+    CVS = [ClassVar[str]]
+    a: cv[0]
+    b: 'C'
+    c: 'CVS[0]'
+    x: 'ClassVar["int"]'
+    y: 'ClassVar[C]'
+
+print()
+print(C.__annotations__)
+print(C.__dataclass_fields__)
+
+
+#print(get_type_hints(C))