Probably ancient version of Python
This commit is contained in:
Kovid Goyal 2020-10-06 12:09:47 +05:30
parent b33845df8a
commit b04b0c670d
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -434,7 +434,7 @@ def add_hyperlink(end: int) -> None:
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