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

Function setUpModule

Lib/test/test_tcl.py:819–826  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

817
818
819def setUpModule():
820 wantobjects = support.get_resource_value('wantobjects')
821 if wantobjects is not None:
822 unittest.enterModuleContext(
823 support.swap_attr(tkinter, 'wantobjects', int(wantobjects)))
824 if support.verbose:
825 tcl = Tcl()
826 print('patchlevel =', tcl.call('info', 'patchlevel'), flush=True)
827
828
829if __name__ == "__main__":

Callers

nothing calls this directly

Calls 2

TclFunction · 0.90
callMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…