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

Method named_script_magic

IPython/core/magics/script.py:136–142  ·  view source on GitHub ↗
(line, cell)

Source from the content-addressed store, hash-verified

134 @magic_arguments.magic_arguments()
135 @script_args
136 def named_script_magic(line, cell):
137 # if line, add it as cl-flags
138 if line:
139 line = "%s %s" % (script, line)
140 else:
141 line = script
142 return self.shebang(line, cell)
143
144 # write a basic docstring:
145 named_script_magic.__doc__ = \

Callers

nothing calls this directly

Calls 1

shebangMethod · 0.95

Tested by

no test coverage detected