Return whether running inside a Python shell or pyscript.
(self)
| 2675 | return self._current_script_dir is not None |
| 2676 | |
| 2677 | def in_pyscript(self) -> bool: |
| 2678 | """Return whether running inside a Python shell or pyscript.""" |
| 2679 | return self._in_py |
| 2680 | |
| 2681 | @property |
| 2682 | def aliases(self) -> dict[str, str]: |
no outgoing calls
no test coverage detected