From b04b0c670dccbe4d31a3dca814456ab25087a521 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 6 Oct 2020 12:09:47 +0530 Subject: [PATCH] Fix #3010 Probably ancient version of Python --- kittens/hints/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kittens/hints/main.py b/kittens/hints/main.py index d25c95aa6..2527d0ec4 100644 --- a/kittens/hints/main.py +++ b/kittens/hints/main.py @@ -434,7 +434,7 @@ def process_hyperlinks(text: str) -> Tuple[str, Tuple[Mark, ...]]: active_hyperlink_start_offset = 0 idx += 1 - def process_hyperlink(m: re.Match) -> str: + def process_hyperlink(m: 're.Match') -> str: nonlocal removed_size, active_hyperlink_url, active_hyperlink_id, active_hyperlink_start_offset raw = m.group() start = m.start() - removed_size