{ } Raw JSON

bundles / IPython 9.13.0 / IPython / core / completer / IPCompleter / _default_arguments_from_docstring

function

IPython.core.completer:IPCompleter._default_arguments_from_docstring

source: /IPython/core/completer.py :2841

Signature

def   _default_arguments_from_docstring ( self doc )

Summary

Parse the first line of docstring for call signature.

Extended Summary

Docstring should be of the form 'min(iterable[, key=func])

'.

It can also parse cython docstring of the form 'Minuit.migrad(self, int ncall=10000, resume=True, int nsplit=1)'.

Aliases

  • IPython.core.completer.IPCompleter._default_arguments_from_docstring