Add missing __slots__ to third-party packages (#15454)

This commit is contained in:
Semyon Moroz
2026-02-22 19:08:46 +00:00
committed by GitHub
parent 9a9cc1834d
commit b43fc8f6f3
11 changed files with 54 additions and 2 deletions
+1
View File
@@ -15,6 +15,7 @@ class _VersionInfo(NamedTuple):
release: bool
class VersionInfo(_VersionInfo):
__slots__ = ()
def __new__(
cls, major: int = 0, minor: int = 0, micro: int = 0, releaselevel: str = "final", serial: int = 0, release: bool = True
) -> Self: ...