Apply first function SUBST to arguments, than FUNC.
(self, *args)
| 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 | |
| 2075 | class XView: |
nothing calls this directly
no test coverage detected