def _get_file_object(self, obj):

        return File(path=inspect.getsourcefile(type(obj)))
Return a 'File' object for the object's source file.
dataset/ETHPy150Open enthought/envisage/envisage/developer/ui/view/extension_registry_browser.py/ExtensionRegistryBrowser._get_file_object