Skip to content

Commit 50071cc

Browse files
committed
add missing type annotation
1 parent 4739391 commit 50071cc

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

can/interfaces/vector/canlib.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,20 @@
1111
import time
1212
import os
1313
from types import ModuleType
14-
from typing import List, NamedTuple, Optional, Tuple, Sequence, Union, Any, Dict
14+
from typing import (
15+
List,
16+
NamedTuple,
17+
Optional,
18+
Tuple,
19+
Sequence,
20+
Union,
21+
Any,
22+
Dict,
23+
Callable,
24+
)
1525

26+
WaitForSingleObject: Optional[Callable[[int, int], int]]
27+
INFINITE: Optional[int]
1628
try:
1729
# Try builtin Python 3 Windows API
1830
from _winapi import WaitForSingleObject, INFINITE

0 commit comments

Comments
 (0)