mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-04 20:45:49 +08:00
Add missing __slots__ to third-party packages (#15454)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user