Contents
import abc [docs]class FileSystemProtocol(abc.ABC): [docs] @abc.abstractmethod def read(self, filename: str): raise NotImplementedError [docs] @abc.abstractmethod def write(self, filename: str, data: bytes, append: bool): raise NotImplementedError