mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
fix: Do not use type not exported on older Python versions (#1409)
This commit is contained in:
parent
5df70dadac
commit
74608098cd
@ -32,7 +32,7 @@ class c:
|
||||
|
||||
# Before: printf '%s\\n' '^w^'
|
||||
# After: printf '%s\n' '^w^'
|
||||
def noDoubleBackslashFixer(line: str, rule: Dict[str, str], m: re.Match[str]) -> str:
|
||||
def noDoubleBackslashFixer(line: str, rule: Dict[str, str], m) -> str:
|
||||
prestr = line[0:m.start('match')]
|
||||
midstr = line[m.start('match'):m.end('match')]
|
||||
poststr = line[m.end('match'):]
|
||||
|
Loading…
Reference in New Issue
Block a user