mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-21 07:30:28 +08:00
Add __slots__ to third-party packages using stubdefaulter (#14619)
This commit is contained in:
@@ -57,6 +57,7 @@ class _Pluralizer(Protocol):
|
||||
) -> str: ...
|
||||
|
||||
class TranslationString(str):
|
||||
__slots__ = ("domain", "context", "default", "mapping")
|
||||
domain: str | None
|
||||
context: str | None
|
||||
default: str
|
||||
|
||||
Reference in New Issue
Block a user