1
0
mirror of synced 2024-11-25 18:54:22 +01:00

AbstractParser: Fix typos

This commit is contained in:
georg 2018-07-21 00:46:48 +00:00
parent 942859601d
commit 71b1ced842
No known key found for this signature in database
GPG Key ID: 5AD75B414EA41667

View File

@ -7,7 +7,7 @@ assert Set # make pyflakes happy
class AbstractParser(abc.ABC): class AbstractParser(abc.ABC):
""" This is the base classe of every parser. """ This is the base classe of every parser.
It might yeild `ValueError` on instanciation on invalid files. It might yield `ValueError` on instanciation on invalid files.
""" """
meta_list = set() # type: Set[str] meta_list = set() # type: Set[str]
mimetypes = set() # type: Set[str] mimetypes = set() # type: Set[str]
@ -30,7 +30,7 @@ class AbstractParser(abc.ABC):
def remove_all_lightweight(self) -> bool: def remove_all_lightweight(self) -> bool:
""" This method removes _SOME_ metadata. """ This method removes _SOME_ metadata.
I might be useful to implement it for fileformats that do It might be useful to implement it for fileformats that do
not support non-destructive cleaning. not support non-destructive cleaning.
""" """
return self.remove_all() return self.remove_all()