示例#1
0
文件: monitor.py 项目: yanxg/spyder
 def get_doc(self, objtxt):
     """Get object documentation dictionary"""
     obj, valid = self._eval(objtxt)
     if valid:
         return getdoc(obj)
示例#2
0
 def get_builtin_doc(self, pyobject):
     buitin = pyobject.builtin
     return getdoc(buitin)
示例#3
0
 def get_doc(self, objtxt):
     """Get object documentation"""
     obj, valid = self._eval(objtxt)
     if valid:
         return unicode(getdoc(obj))
示例#4
0
 def get_doc(self, objtxt):
     """Get object documentation dictionary"""
     obj, valid = self._eval(objtxt)
     if valid:
         return getdoc(obj)
示例#5
0
 def get_builtin_doc(self, pyobject):
     buitin = pyobject.builtin
     return getdoc(buitin)