Home
last modified time | relevance | path

Searched refs:getcomments (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Doc/library/
Dpydoc.rst30 the top of the module (see :func:`inspect.getcomments`).
Dinspect.rst402 .. function:: getcomments(object)
/external/python/cpython2/Lib/test/
Dtest_inspect.py272 self.assertEqual(inspect.getcomments(mod), '# line 1\n')
273 self.assertEqual(inspect.getcomments(mod.StupidGit), '# line 20\n')
/external/python/cpython2/Lib/
Dinspect.py584 def getcomments(object): function
Dpydoc.py84 result = inspect.getdoc(object) or inspect.getcomments(object)