MCPcopy Index your code
hub / github.com/ipython/ipython / lsmagic

Method lsmagic

IPython/core/magic.py:420–426  ·  view source on GitHub ↗

Return a dict of currently available magic functions. The return dict has the keys 'line' and 'cell', corresponding to the two types of magics we support. Each value is a list of names.

(self)

Source from the content-addressed store, hash-verified

418 return self._auto_status[self.auto_magic]
419
420 def lsmagic(self) -> dict[str, dict[str, Any]]:
421 """Return a dict of currently available magic functions.
422
423 The return dict has the keys 'line' and 'cell', corresponding to the
424 two types of magics we support. Each value is a list of names.
425 """
426 return self.magics
427
428 def lsmagic_docs(
429 self, brief: bool = False, missing: str = ""

Callers 3

_extract_codeMethod · 0.45
magic_matcherMethod · 0.45
test_issue_114Function · 0.45

Calls

no outgoing calls

Tested by 1

test_issue_114Function · 0.36