stdlib: add __slots__ (#14611)

This commit is contained in:
Jelle Zijlstra
2025-08-21 07:24:59 -07:00
committed by GitHub
parent 28abff1eb3
commit f32d9f08bd
38 changed files with 247 additions and 12 deletions
+1
View File
@@ -97,6 +97,7 @@ class EntryPoint(_EntryPointBase):
if sys.version_info >= (3, 12):
class EntryPoints(tuple[EntryPoint, ...]):
__slots__ = ()
def __getitem__(self, name: str) -> EntryPoint: ... # type: ignore[override]
def select(
self,