Skip to content

Commit 5ec499c

Browse files
ariebovenbergjaraco
authored andcommitted
add missing __slots__ to DeprecatedList
1 parent bf8ccba commit 5ec499c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

importlib_metadata/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,8 @@ class DeprecatedList(list):
283283
1
284284
"""
285285

286+
__slots__ = ()
287+
286288
_warn = functools.partial(
287289
warnings.warn,
288290
"EntryPoints list interface is deprecated. Cast to list if needed.",

0 commit comments

Comments
 (0)