79210751

Date: 2024-11-21 10:38:59
Score: 2
Natty:
Report link

def decorator(cls: type[SupportsFunc]) -> type[SupportsFunc]: class _Wrapper(cls): # type: ignore[valid-type, misc] # See https://github.com/python/mypy/issues/14458 def func(self) -> None: super().func() print("patched!") return _Wrapper

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Arun Boora