Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/k/u/kuma-lib-HEAD/packages/ipython/IPython/OInspect.py   kuma-lib(Download)
# simply monkeypatch inspect with code copied from python 2.4.
if sys.version_info[:2] == (2,3):
    from inspect import ismodule, getabsfile, modulesbyfile
    def getmodule(object):
        """Return the module an object was defined in, or None if not found."""

src/a/s/astropy-0.3.1/astropy/utils/compat/misc.py   astropy(Download)
    #these imports mock up what would otherwise have been in inspect
    from inspect import modulesbyfile, _filesbymodname, getabsfile, ismodule
    if ismodule(object):