summaryrefslogtreecommitdiff
path: root/tokens.py
diff options
context:
space:
mode:
Diffstat (limited to 'tokens.py')
-rw-r--r--tokens.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tokens.py b/tokens.py
index 84c6847..5f5a663 100644
--- a/tokens.py
+++ b/tokens.py
@@ -272,6 +272,7 @@ class CommentToken(Token):
return 'CommentToken({})'.format(v)
def __eq__(self, other):
+ # type: (Any) -> bool
if self.start_mark != other.start_mark:
return False
if self.end_mark != other.end_mark:
@@ -281,4 +282,5 @@ class CommentToken(Token):
return True
def __ne__(self, other):
+ # type: (Any) -> bool
return not self.__eq__(other)