Lines Matching refs:docstring
529 def __init__(self, examples, globs, name, filename, lineno, docstring): argument
537 self.docstring = docstring
559 self.docstring == other.docstring and \
566 return hash((self.docstring, self.name, self.filename, self.lineno))
1056 docstring = obj
1060 docstring = ''
1062 docstring = obj.__doc__
1063 if not isinstance(docstring, str):
1064 docstring = str(docstring)
1066 docstring = ''
1072 if self._exclude_empty and not docstring:
1083 return self._parser.get_doctest(docstring, globs, name,
2620 testsrc = script_from_examples(test.docstring)