Lines Matching refs:docstring
615 if re.search(r'[^\x00-\x7F]', f.docstring):
620 for line in f.docstring.split('\n'):
689 if new_or_init and not f.docstring:
2212 docstring=None, kind=CALLABLE, coexist=False, argument
2223 self.docstring = docstring or ''
2270 'docstring': self.docstring, 'kind': self.kind, 'coexist': self.coexist,
2291 docstring=None, group=0): argument
2298 self.docstring = docstring or ''
2317 'docstring': self.docstring, 'group': self.group,
4185 …me=function_name, full_name=full_name, module=module, cls=cls, c_basename=c_basename, docstring='')
4697 new_docstring = last_parameter.docstring
4704 last_parameter.docstring = new_docstring
4715 new_docstring = self.function.docstring
4723 self.function.docstring = new_docstring
4729 if new_or_init and not f.docstring:
4731 return f.docstring
4906 if not p.docstring.strip():
4915 add(textwrap.indent(rstrip_lines(p.docstring.rstrip()), " "))
4924 docstring = f.docstring.rstrip()
4925 lines = [line.rstrip() for line in docstring.split('\n')]
4950 parameters_marker_count = len(docstring.split('{parameters}')) - 1
4961 docstring = "\n".join(lines)
4963 add(docstring)
4964 docstring = output()
4966 docstring = linear_format(docstring, parameters=parameters)
4967 docstring = docstring.rstrip()
4969 return docstring
4994 value.docstring = value.docstring.rstrip()
4996 self.function.docstring = self.format_docstring()