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

Method arg_err

IPython/core/magic.py:658–661  ·  view source on GitHub ↗

Print docstring if incorrect arguments were passed

(self, func: Callable[..., Any])

Source from the content-addressed store, hash-verified

656 super(Magics, self).__init__(**kwargs)
657
658 def arg_err(self, func: Callable[..., Any]) -> None:
659 """Print docstring if incorrect arguments were passed"""
660 print("Error in arguments:")
661 print(oinspect.getdoc(func))
662
663 def format_latex(self, strng: str) -> str:
664 """Format a string for latex inclusion."""

Callers 1

dhistMethod · 0.80

Calls 1

getdocMethod · 0.45

Tested by

no test coverage detected