(self, path)
Return the data from path as raw bytes.
Return the data from path as raw bytes.
Return the data from path as raw bytes .
def get_data(self, path):
        """Return the data from path as raw bytes."""
        if isinstance(self, (SourceLoader, ExtensionFileLoader)):
            with _io.open_code(str(path)) as file:
                return file.read()
        else:
            with _io.FileIO(path, 'r') as file:
                return file.read()
def get_data ( self , path ) : if isinstance ( self , ( SourceLoader , ExtensionFileLoader ) ) : with _io . open_code ( str ( path ) ) as file : return file . read ( ) else : with _io . FileIO ( path , 'r' ) as file : return file . read ( )