mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-23 12:41:43 +08:00
Inline these type annotations
No need for comments for these since Python 3.5 isn't supported.
This commit is contained in:
@@ -14,7 +14,7 @@ class PrefixPart:
|
||||
self.type = typ
|
||||
self.value = value
|
||||
self.spacing = spacing
|
||||
self.start_pos = start_pos # type: Tuple[int, int]
|
||||
self.start_pos: Tuple[int, int] = start_pos
|
||||
|
||||
@property
|
||||
def end_pos(self) -> Tuple[int, int]:
|
||||
|
||||
Reference in New Issue
Block a user