(instance: PythonScriptingInstance)
| 1666 | |
| 1667 | |
| 1668 | def _get_current_sections(instance: PythonScriptingInstance): |
| 1669 | if instance.interpreter.active_view is None: |
| 1670 | return [] |
| 1671 | return instance.interpreter.active_view.get_sections_at(instance.interpreter.active_addr) |
| 1672 | |
| 1673 | |
| 1674 | PythonScriptingProvider.register_magic_variable("current_sections", _get_current_sections) |
nothing calls this directly
no test coverage detected