stdlib: add __slots__ (#14611)

This commit is contained in:
Jelle Zijlstra authored and GitHub committed 2025-08-21 07:24:59 -07:00
1 parent 28abff1eb3
commit f32d9f08bd
38 files changed
+247 -12

No files matched your search

+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,