Skip to content

Commit

Permalink
Tiny type narrowing
Browse files Browse the repository at this point in the history
  • Loading branch information
felixdivo committed Dec 21, 2022
1 parent 4136f37 commit 1046c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion can/interfaces/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from typing import Dict, Tuple

# interface_name => (module, classname)
BACKENDS: Dict[str, Tuple[str, ...]] = {
BACKENDS: Dict[str, Tuple[str, str]] = {
"kvaser": ("can.interfaces.kvaser", "KvaserBus"),
"socketcan": ("can.interfaces.socketcan", "SocketcanBus"),
"serial": ("can.interfaces.serial.serial_can", "SerialBus"),
Expand Down

0 comments on commit 1046c8c

Please sign in to comment.