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

Method parse_argstring

IPython/core/magic_arguments.py:164–170  ·  view source on GitHub ↗

Split a string into an argument list and parse that argument list.

(self, argstring, *, partial=False)

Source from the content-addressed store, hash-verified

162 raise UsageError(message)
163
164 def parse_argstring(self, argstring, *, partial=False):
165 """ Split a string into an argument list and parse that argument list.
166 """
167 argv = arg_split(argstring, strict=not partial)
168 if partial:
169 return self.parse_known_args(argv)
170 return self.parse_args(argv)
171
172
173def construct_parser(magic_func):

Callers 14

kill_embeddedMethod · 0.80
parse_argstringFunction · 0.80
_extract_codeMethod · 0.80
debugMethod · 0.80
timeMethod · 0.80
captureMethod · 0.80
code_wrapMethod · 0.80
alias_magicMethod · 0.80
notebookMethod · 0.80
matplotlibMethod · 0.80
pylabMethod · 0.80
htmlMethod · 0.80

Calls 1

arg_splitFunction · 0.90

Tested by

no test coverage detected