(self)
| 2142 | yield _function.Function(self._view, core.BNNewFunctionReference(self._funcs[i])) |
| 2143 | |
| 2144 | def __next__(self): |
| 2145 | if self._n >= len(self): |
| 2146 | raise StopIteration |
| 2147 | func = core.BNNewFunctionReference(self._funcs[self._n]) |
| 2148 | assert func is not None, "core.BNNewFunctionReference returned None" |
| 2149 | self._n += 1 |
| 2150 | return _function.Function(self._view, func) |
| 2151 | |
| 2152 | @overload |
| 2153 | def __getitem__(self, i: int) -> '_function.Function': ... |