Add __slots__ to third-party packages using stubdefaulter (#14619)

This commit is contained in:
Jelle Zijlstra
2025-08-21 15:38:13 -07:00
committed by GitHub
parent 573b57d8da
commit ca44e4c45d
135 changed files with 675 additions and 25 deletions
@@ -15,6 +15,7 @@ class InvalidRomanNumeralError(ValueError):
@final
class RomanNumeral:
__slots__ = ("_value",)
def __init__(self, value: int, /) -> None: ...
def __int__(self) -> int: ...
def __eq__(self, other: object) -> bool: ...