Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
importlib/_bootstrap.py
_List
1 parent a1332a9 commit 6de8aa3Copy full SHA for 6de8aa3
1 file changed
Lib/importlib/_bootstrap.py
@@ -53,7 +53,7 @@ def _new_module(name):
53
54
# For a list that can have a weakref to it.
55
class _List(list):
56
- pass
+ __slots__ = ("__weakref__",)
57
58
59
# Copied from weakref.py with some simplifications and modifications unique to
0 commit comments