We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53f7d12 commit 92a1fd3Copy full SHA for 92a1fd3
curtsies/events.py
@@ -3,7 +3,7 @@
3
import itertools
4
import sys
5
from enum import Enum, auto
6
-from typing import Dict, Optional, List, Union
+from typing import Optional, List, Sequence, Union
7
8
from .termhelpers import Termmode
9
from .curtsieskeys import CURTSIES_NAMES as special_curtsies_names
@@ -163,7 +163,7 @@ def decodable(seq: bytes, encoding: str) -> bool:
163
164
165
def get_key(
166
- bytes_: List[bytes],
+ bytes_: Sequence[bytes],
167
encoding: str,
168
keynames: Keynames = Keynames.CURTSIES,
169
full: bool = False,
0 commit comments