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 process_hyperlinks(text: str) -> Tuple[str, Tuple[Mark, ...]]:
active_hyperlink_start_offset = 0 active_hyperlink_start_offset = 0
idx += 1 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 nonlocal removed_size, active_hyperlink_url, active_hyperlink_id, active_hyperlink_start_offset
raw = m.group() raw = m.group()
start = m.start() - removed_size start = m.start() - removed_size