Remove pre python 3.8 compat shim as we now require 3.8

This commit is contained in:
Kovid Goyal
2023-10-12 20:40:33 +05:30
parent 00dc5a8dc5
commit ee1e65e619

View File

@@ -18,9 +18,6 @@ from .types import run_once
from .typing import MatchType
from .utils import expandvars, get_editor, log_error, resolved_shell
if not hasattr(shlex, 'join'):
shlex.join = lambda a: ' '.join(map(shlex.quote, a))
class MatchCriteria(NamedTuple):
type: MatchType