Fix type hint

This commit is contained in:
jan 2018-07-27 10:58:32 -07:00
parent d154ef23df
commit 5f685b601b

View File

@ -608,7 +608,7 @@ class AString:
""" """
return write_bstring(stream, self.bytes) return write_bstring(stream, self.bytes)
def __eq__(self, other: AString) -> bool: def __eq__(self, other: 'AString') -> bool:
return isinstance(other, type(self)) and self.string == other.string return isinstance(other, type(self)) and self.string == other.string
def __repr__(self) -> str: def __repr__(self) -> str: