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

This commit is contained in:
Semyon Moroz authored and GitHub committed 2026-02-22 20:08:46 +01:00
1 parent 9a9cc1834d
commit b43fc8f6f3
11 files changed
+54 -2

No files matched your search

+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: ...