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

Method __call__

Lib/tkinter/__init__.py:2139–2148  ·  view source on GitHub ↗

Apply first function SUBST to arguments, than FUNC.

(self, *args)

Source from the content-addressed store, hash-verified

2137 self.widget = widget
2138
2139 def __call__(self, *args):
2140 """Apply first function SUBST to arguments, than FUNC."""
2141 try:
2142 if self.subst:
2143 args = self.subst(*args)
2144 return self.func(*args)
2145 except SystemExit:
2146 raise
2147 except:
2148 self.widget._report_exception()
2149
2150
2151class XView:

Callers

nothing calls this directly

Calls 2

_report_exceptionMethod · 0.80
funcMethod · 0.45

Tested by

no test coverage detected