(cdef: ClassDef)
| 95 | # The string values returned by this function are inspected in |
| 96 | # mypyc/lib-rt/misc_ops.c:CPyDataclass_SleightOfHand(...). |
| 97 | def dataclass_type(cdef: ClassDef) -> str | None: |
| 98 | for d in cdef.decorators: |
| 99 | typ = dataclass_decorator_type(d) |
| 100 | if typ is not None: |
| 101 | return typ |
| 102 | return None |
| 103 | |
| 104 | |
| 105 | def get_mypyc_attr_literal(e: Expression) -> Any: |
no test coverage detected
searching dependent graphs…