MCPcopy Create free account
hub / github.com/ipython/ipython / cell_foo

Method cell_foo

IPython/core/tests/test_magic.py:1022–1024  ·  view source on GitHub ↗

I am cell foo, not line foo

(self, line, cell)

Source from the content-addressed store, hash-verified

1020
1021 @cell_magic("foo")
1022 def cell_foo(self, line, cell):
1023 "I am cell foo, not line foo"
1024 pass
1025
1026def test_line_cell_info():
1027 """%%foo and %foo magics are distinguishable to inspect"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected