cpython/f.py
Miss Islington (bot) b57aeac82c
bpo-33502: dataclass._Dataclassparams repr: use repr of each member. (GH-6812)
(cherry picked from commit 3059042410)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
2018-05-14 16:57:30 -07:00

12 lines
204 B
Python

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]