From 5f685b601bb4dc31300dd6911553688ed6547f9c Mon Sep 17 00:00:00 2001 From: jan Date: Fri, 27 Jul 2018 10:58:32 -0700 Subject: [PATCH] Fix type hint --- fatamorgana/basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fatamorgana/basic.py b/fatamorgana/basic.py index c375dfe..7619b27 100644 --- a/fatamorgana/basic.py +++ b/fatamorgana/basic.py @@ -608,7 +608,7 @@ class AString: """ 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 def __repr__(self) -> str: