MCPcopy Index your code
hub / github.com/RustPython/RustPython / __call__

Method __call__

Lib/tkinter/__init__.py:2063–2072  ·  view source on GitHub ↗

Apply first function SUBST to arguments, than FUNC.

(self, *args)

Source from the content-addressed store, hash-verified

2061 self.widget = widget
2062
2063 def __call__(self, *args):
2064 """Apply first function SUBST to arguments, than FUNC."""
2065 try:
2066 if self.subst:
2067 args = self.subst(*args)
2068 return self.func(*args)
2069 except SystemExit:
2070 raise
2071 except:
2072 self.widget._report_exception()
2073
2074
2075class XView:

Callers

nothing calls this directly

Calls 2

_report_exceptionMethod · 0.80
funcMethod · 0.45

Tested by

no test coverage detected