(instance: PythonScriptingInstance)
| 1630 | |
| 1631 | |
| 1632 | def _get_current_data_var(instance: PythonScriptingInstance): |
| 1633 | if instance.interpreter.active_view is None: |
| 1634 | return None |
| 1635 | return instance.interpreter.active_view.get_data_var_at(instance.interpreter.active_addr) |
| 1636 | |
| 1637 | |
| 1638 | PythonScriptingProvider.register_magic_variable("current_data_var", _get_current_data_var) |
nothing calls this directly
no test coverage detected