Fix type hint
This commit is contained in:
parent
d154ef23df
commit
5f685b601b
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user