Fix type sig

This commit is contained in:
Kovid Goyal 2021-06-28 05:51:49 +05:30
parent ce486e9244
commit f358d76409
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -67,7 +67,7 @@ def name(cp: Union[int, str]) -> str:
@lru_cache(maxsize=256)
def codepoints_matching_search(parts: Sequence[str]) -> List[int]:
def codepoints_matching_search(parts: Tuple[str, ...]) -> List[int]:
ans = []
if parts and parts[0] and len(parts[0]) > 1:
codepoints = points_for_word(parts[0])