mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-07 05:54:02 +08:00
stdlib: add __slots__ (#14611)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user