Skip to content

Commit

Permalink
add missing __slots__ to DeprecatedList
Browse files Browse the repository at this point in the history
  • Loading branch information
ariebovenberg authored and jaraco committed Feb 11, 2022
1 parent bf8ccba commit 5ec499c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions importlib_metadata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,8 @@ class DeprecatedList(list):
1
"""

__slots__ = ()

_warn = functools.partial(
warnings.warn,
"EntryPoints list interface is deprecated. Cast to list if needed.",
Expand Down

0 comments on commit 5ec499c

Please sign in to comment.