Searched refs:getcomments (Results 1 – 5 of 5) sorted by relevance
30 the top of the module (see :func:`inspect.getcomments`).
402 .. function:: getcomments(object)
272 self.assertEqual(inspect.getcomments(mod), '# line 1\n')273 self.assertEqual(inspect.getcomments(mod.StupidGit), '# line 20\n')
584 def getcomments(object): function
84 result = inspect.getdoc(object) or inspect.getcomments(object)