mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-11 19:00:52 +08:00
Add __slots__ to third-party packages using stubdefaulter (#14619)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user