##// END OF EJS Templates
_default_arguments_from_docstring docstring style
Piti Ongmongkolkul -
Show More
@@ -672,9 +672,11 b' class IPCompleter(Completer):'
672 return matches
672 return matches
673
673
674 def _default_arguments_from_docstring(self,doc):
674 def _default_arguments_from_docstring(self, doc):
675 """Parse first line of docstring of the
675 """Parse first line of docstring for call signature
676 form 'min(iterable[, key=func])\n' to find
676
677 keyword argument names.
677 Docstring should be of the form 'min(iterable[, key=func])\n'.
678 I can also parse cython docstring of the form
679 'Minuit.migrad(self, int ncall=10000, resume=True, int nsplit=1)'
678 """
680 """
679 if doc is None:
681 if doc is None:
680 return []
682 return []
General Comments 0
You need to be logged in to leave comments. Login now