mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-18 22:44:50 +02:00
Update codebase to Python 3.10 using pyupgrade
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
from typing import Dict
|
||||
|
||||
|
||||
def syntax_aliases(x: str) -> Dict[str, str]:
|
||||
def syntax_aliases(x: str) -> dict[str, str]:
|
||||
ans = {}
|
||||
for x in x.split():
|
||||
k, _, v = x.partition(':')
|
||||
|
||||
Reference in New Issue
Block a user