1
0
Fork 0

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
1 changed files with 2 additions and 2 deletions

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()