(instance: PythonScriptingInstance)
| 1639 | |
| 1640 | |
| 1641 | def _get_current_symbol(instance: PythonScriptingInstance): |
| 1642 | if instance.interpreter.active_view is None: |
| 1643 | return None |
| 1644 | return instance.interpreter.active_view.get_symbol_at(instance.interpreter.active_addr) |
| 1645 | |
| 1646 | |
| 1647 | PythonScriptingProvider.register_magic_variable("current_symbol", _get_current_symbol) |
nothing calls this directly
no test coverage detected