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