mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 05:04:44 +08:00
Add __slots__ to third-party packages using stubdefaulter (#14619)
This commit is contained in:
1 parent
573b57d8da
commit
ca44e4c45d
135 files changed
+675
-25
No files matched your search
@@ -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