MCPcopy Index your code
hub / github.com/python/cpython / unload_extensions

Method unload_extensions

Lib/idlelib/editor.py:1119–1123  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1117 self.load_standard_extensions()
1118
1119 def unload_extensions(self):
1120 for ins in list(self.extensions.values()):
1121 if hasattr(ins, "close"):
1122 ins.close()
1123 self.extensions = {}
1124
1125 def load_standard_extensions(self):
1126 for name in self.get_standard_extension_names():

Callers 1

_closeMethod · 0.95

Calls 3

listClass · 0.85
valuesMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected