From 2197e4c9e85550e1267375349f58cea66d9de0c5 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sat, 25 Jul 2020 15:59:33 +0200 Subject: [PATCH] Fix a linter issue --- parso/python/tokenize.py | 1 + 1 file changed, 1 insertion(+) diff --git a/parso/python/tokenize.py b/parso/python/tokenize.py index 3f6d813..0d2bd2f 100644 --- a/parso/python/tokenize.py +++ b/parso/python/tokenize.py @@ -230,6 +230,7 @@ class Token(NamedTuple): string: str start_pos: Tuple[int, int] prefix: str + @property def end_pos(self) -> Tuple[int, int]: lines = split_lines(self.string)