Finish initializing the HasDescriptors class.
(
cls, name: str, bases: tuple[type, ...], classdict: dict[str, t.Any], **kwds: t.Any
)
| 982 | return super().__new__(mcls, name, bases, classdict, **kwds) |
| 983 | |
| 984 | def __init__( |
| 985 | cls, name: str, bases: tuple[type, ...], classdict: dict[str, t.Any], **kwds: t.Any |
| 986 | ) -> None: |
| 987 | """Finish initializing the HasDescriptors class.""" |
| 988 | super().__init__(name, bases, classdict, **kwds) |
| 989 | cls.setup_class(classdict) |
| 990 | |
| 991 | def setup_class(cls: MetaHasDescriptors, classdict: dict[str, t.Any]) -> None: |
| 992 | """Setup descriptor instance on the class |
nothing calls this directly
no test coverage detected