class_docstr: Extension of the completer class with IPython-specific features
class_docstr_tok: ["Extension","of","the","completer","class","with","IPython-specific","features"]
docstr: Parse the first line of docstring for call signature.
  
          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)'.
          
docstr_tok: ["Parse","the","first","line","of","docstring","for","call","signature",".","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",")","'","."]
code: def _default_arguments_from_docstring(self, doc):
      """Parse the first line of docstring for call signature.
  
      Docstring should be of the form 'min(iterable[, key=func])\n'.
      It can also parse cython docstring of the form
      'Minuit.migrad(self, int ncall=10000, resume=True, int nsplit=1)'.
      """
      if doc is None:
          return []
  
      # care only the firstline
      line = doc.lstrip().splitlines()[0]
  
      # p = re.compile(r'^[\w|\s.]+\(([^)]*)\).*')
      #'min(iterable[, key=func])\n' -> 'iterable[, key=func]'
      sig = self.docstring_sig_re.search(line)
      if sig is None:
          return []
      # iterable[, key=func]' -> ['iterable[' ,' key=func]']
      sig = sig.groups()[0].split(",")
      ret = []
      for s in sig:
          # re.compile(r'[\s|\[]*(\w+)(?:\s*=\s*.*)')
          ret += self.docstring_kwd_re.findall(s)
      return ret
  
imports: from __future__ import print_function
  import __main__
  import glob
  import inspect
  import itertools
  import keyword
  import os
  import re
  import sys
  import unicodedata
  import string
  import warnings
  from traitlets.config.configurable import Configurable
  from IPython.core.error import TryNext
  from IPython.core.inputsplitter import ESC_MAGIC
  from IPython.core.latex_symbols import latex_symbols, reverse_latex_symbol
  from IPython.utils import generics
  from IPython.utils.decorators import undoc
  from IPython.utils.dir2 import dir2, get_real_method
  from IPython.utils.process import arg_split
  from IPython.utils.py3compat import builtin_mod, string_types, PY3, cast_unicode_py2
  from traitlets import Bool, Enum, observe
label_desc: Use image node_id 10 for calling the IPCompleter obj's underlying member method code with example usage: obj._default_arguments_from_docstring(doc) and returns: ret, list, list