(*args, **kwargs)
| 1214 | |
| 1215 | @_wraps(opFunc) |
| 1216 | def wrapper(*args, **kwargs): |
| 1217 | loc = kwargs.pop("loc", None) |
| 1218 | if loc is None: |
| 1219 | frame = _inspect.currentframe().f_back |
| 1220 | file_loc = _ods_ir.Location.file( |
| 1221 | frame.f_code.co_filename, frame.f_lineno, 0 |
| 1222 | ) |
| 1223 | loc = _ods_ir.Location.name(frame.f_code.co_name, childLoc=file_loc) |
| 1224 | res_or_list = opFunc(*args, **kwargs, loc=loc) |
| 1225 | return res_or_list |
| 1226 | |
| 1227 | return wrapper |
| 1228 |
nothing calls this directly
no test coverage detected