Show More
@@ -698,11 +698,11 b' class IPCompleter(Completer):' | |||
|
698 | 698 | if inspect.isbuiltin(obj): |
|
699 | 699 | pass |
|
700 | 700 | elif not (inspect.isfunction(obj) or inspect.ismethod(obj)): |
|
701 | #for cython embededsignature=True the docstring belongs to | |
|
702 | #the object itself not __init__ or __call__ | |
|
703 | ret += self._default_arguments_from_docstring( | |
|
704 | getattr(obj,'__doc__','')) | |
|
705 | 701 | if inspect.isclass(obj): |
|
702 | #for cython embededsignature=True the constructor docstring | |
|
703 | #belongs to the object itself not __init__ | |
|
704 | ret += self._default_arguments_from_docstring( | |
|
705 | getattr(obj,'__doc__','')) | |
|
706 | 706 | # for classes, check for __init__,__new__ |
|
707 | 707 | call_obj = (getattr(obj,'__init__',None) or |
|
708 | 708 | getattr(obj,'__new__',None)) |
General Comments 0
You need to be logged in to leave comments.
Login now