Make mypy happy

This commit is contained in:
Kovid Goyal
2023-12-22 06:43:12 +05:30
parent c03d99e744
commit 79db8b43e0

View File

@@ -732,9 +732,6 @@ class Window:
return not self.at_prompt
def matches(self, field: str, pat: MatchPatternType) -> bool:
if not pat:
return False
if isinstance(pat, tuple):
if field == 'env':
return key_val_matcher(self.child.environ.items(), *pat)