Spaces:
Runtime error
Runtime error
from abc import abstractmethod | |
class Parser: | |
def __init__(self): | |
pass | |
def _filename(self, index, basename=False, absolute=False): | |
pass | |
def filename(self, index, basename=False, absolute=False): | |
return self._filename(index, basename=basename, absolute=absolute) | |
def filenames(self, basename=False, absolute=False): | |
return [self._filename(index, basename=basename, absolute=absolute) for index in range(len(self))] | |