##// END OF EJS Templates
typing: fix type annotation
Manuel Jacob -
r52686:0f62ea8a stable
parent child Browse files
Show More
@@ -23,6 +23,7 b' import unicodedata'
23 from typing import (
23 from typing import (
24 Any,
24 Any,
25 AnyStr,
25 AnyStr,
26 Callable,
26 Iterable,
27 Iterable,
27 Iterator,
28 Iterator,
28 List,
29 List,
@@ -552,7 +553,7 b" if pycompat.sysplatform == b'OpenVMS':"
552 return False
553 return False
553
554
554
555
555 _needsshellquote: Optional[Match[bytes]] = None
556 _needsshellquote: Optional[Callable[[bytes], Optional[Match[bytes]]]] = None
556
557
557
558
558 def shellquote(s: bytes) -> bytes:
559 def shellquote(s: bytes) -> bytes:
General Comments 0
You need to be logged in to leave comments. Login now