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

Method line_foo

IPython/core/tests/test_magic.py:1017–1019  ·  view source on GitHub ↗

I am line foo

(self, line)

Source from the content-addressed store, hash-verified

1015 """class with both %foo and %%foo magics"""
1016 @line_magic('foo')
1017 def line_foo(self, line):
1018 "I am line foo"
1019 pass
1020
1021 @cell_magic("foo")
1022 def cell_foo(self, line, cell):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected