Searched refs:getmodule (Results 1 – 11 of 11) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_inspect.py | 277 self.assertEqual(inspect.getmodule(mod), mod) 279 self.assertEqual(inspect.getmodule(mod.StupidGit), mod) 281 self.assertEqual(inspect.getmodule(mod.StupidGit.abuse), mod) 283 self.assertEqual(inspect.getmodule(mod.StupidGit.abuse), mod) 285 self.assertEqual(inspect.getmodule(str), sys.modules["__builtin__"]) 287 self.assertEqual(inspect.getmodule(None, modfile), mod) 314 inspect.getmodule(compile('a=10','','single'))
|
/external/autotest/client/site_tests/kernel_CheckArmErrata/ |
D | kernel_CheckArmErrata.py | 439 inspect.getmodule(self), optionflags=doctest.ELLIPSIS)
|
/external/python/cpython2/Lib/ |
D | inspect.py | 453 if hasattr(getmodule(object, filename), '__loader__'): 471 def getmodule(object, _filename=None): function 531 module = getmodule(object, file)
|
D | pydoc.py | 671 (inspect.getmodule(value) or object) is object): 687 inspect.isbuiltin(value) or inspect.getmodule(value) is object): 1098 or (inspect.getmodule(value) or object) is object): 1105 inspect.isbuiltin(value) or inspect.getmodule(value) is object): 1555 module = inspect.getmodule(object)
|
D | doctest.py | 890 module = inspect.getmodule(obj) 941 elif inspect.getmodule(object) is not None: 942 return module is inspect.getmodule(object)
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
D | testbase.py | 134 codeMod = inspect.getmodule(code)
|
/external/ply/ply/ply/ |
D | lex.py | 736 module = inspect.getmodule(f) 805 module = inspect.getmodule(f)
|
D | yacc.py | 3049 module = inspect.getmodule(self.error_func) 3134 module = inspect.getmodule(item)
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
D | recognizers.py | 860 codeMod = inspect.getmodule(code)
|
/external/python/cpython2/Doc/library/ |
D | inspect.rst | 416 .. function:: getmodule(object)
|
/external/python/cpython2/Misc/ |
D | NEWS | 11645 & SAGE by adding smarter caching in inspect.getmodule()
|