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

Method clear

Lib/idlelib/configdialog.py:2232–2236  ·  view source on GitHub ↗

Clear lists (for tests).

(self)

Source from the content-addressed store, hash-verified

2230 self.traced = []
2231
2232 def clear(self):
2233 "Clear lists (for tests)."
2234 # Call after all tests in a module to avoid memory leaks.
2235 self.untraced.clear()
2236 self.traced.clear()
2237
2238 def add(self, var, callback):
2239 """Add (var, callback) tuple to untraced list.

Callers 1

cancelMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected