Home
last modified time | relevance | path

Searched refs:getcomments (Results 1 – 10 of 10) 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/cpython3/Doc/library/
Dpydoc.rst28 the top of the module (see :func:`inspect.getcomments`).
Dinspect.rst461 .. function:: getcomments(object)
/external/python/cpython2/Lib/test/
Dtest_inspect.py273 self.assertEqual(inspect.getcomments(mod), '# line 1\n')
274 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)
/external/python/cpython3/Lib/test/
Dtest_inspect.py434 self.assertEqual(inspect.getcomments(mod), '# line 1\n')
435 self.assertEqual(inspect.getcomments(mod.StupidGit), '# line 20\n')
438 self.assertIsNone(inspect.getcomments(co))
440 self.assertIsNone(inspect.getcomments(list))
/external/python/cpython3/Lib/
Dinspect.py833 def getcomments(object): function
Dpydoc.py94 result = inspect.getdoc(object) or inspect.getcomments(object)