(self, fullname)
return decode_source(source_bytes)
Concrete implementation of InspectLoader.get_source.
Concrete implementation of InspectLoader.get_source.
Concrete implementation of InspectLoader . get_source .
def get_source(self, fullname):
        """Concrete implementation of InspectLoader.get_source."""
        path = self.get_filename(fullname)
        try:
            source_bytes = self.get_data(path)
        except OSError as exc:
            raise ImportError('source not available through get_data()',
                              name=fullname) from exc
        return decode_source(source_bytes)
def get_source ( self , fullname ) : path = self . get_filename ( fullname ) try : source_bytes = self . get_data ( path ) except OSError as exc : raise ImportError ( 'source not available through get_data()' , name = fullname ) from exc return decode_source ( source_bytes )