Lines Matching refs:doc
156 def _cleanstr(self,doc):
157 return doc.replace('"',' ').replace("'",' ')
192 # The doc string sometimes contains the function signature
195 doc = func_obj.__doc__
196 if doc:
197 doc = doc.lstrip()
198 pos = doc.find('\n')
200 sigline = doc[:pos]
219 doc = result.__doc__
220 if doc is None: doc = ''
222 return [{'word':self._cleanstr(args),'info':self._cleanstr(doc)}]
245 try: doc = inst.__doc__
246 except: doc = maindoc
248 if doc is None or doc == '': doc = maindoc
251 c = {'word':wrd, 'abbr':m, 'info':self._cleanstr(doc)}
288 def doc(self,str):
592 if freshscope: self.scope.doc(token)