summaryrefslogtreecommitdiff
path: root/poezio/windows/funcs.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-08-17 17:52:25 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-08-17 18:36:53 +0100
commitd992344812c85fccc013fd9876b12f80198e1ce3 (patch)
treead8bcdec9ca06ea157f1028d583c9be1c189fb42 /poezio/windows/funcs.py
parentc2dbaba41fc35092a361e8d839b37abfdec12947 (diff)
downloadpoezio-d992344812c85fccc013fd9876b12f80198e1ce3.tar.gz
poezio-d992344812c85fccc013fd9876b12f80198e1ce3.tar.bz2
poezio-d992344812c85fccc013fd9876b12f80198e1ce3.tar.xz
poezio-d992344812c85fccc013fd9876b12f80198e1ce3.zip
windows.inputs: Type almost everything in this module.
Diffstat (limited to 'poezio/windows/funcs.py')
-rw-r--r--poezio/windows/funcs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/windows/funcs.py b/poezio/windows/funcs.py
index d118f353..69edace2 100644
--- a/poezio/windows/funcs.py
+++ b/poezio/windows/funcs.py
@@ -10,7 +10,7 @@ DIGITS = string.digits + '-'
def find_first_format_char(text: str,
- chars: Optional[List[str]] = None) -> int:
+ chars: str = None) -> int:
to_find = chars or format_chars
pos = -1
for char in to_find: