Skip to content

Commit ed895d3

Browse files
Update bus.py
1 parent 7dba449 commit ed895d3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

can/bus.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
cast,
2323
)
2424

25-
from typing_extensions import Self
26-
2725
import can
2826
import can.typechecking
2927
from can.broadcastmanager import CyclicSendTaskABC, ThreadBasedCyclicSendTask
@@ -467,7 +465,7 @@ def shutdown(self) -> None:
467465
self._is_shutdown = True
468466
self.stop_all_periodic_tasks()
469467

470-
def __enter__(self) -> Self:
468+
def __enter__(self):
471469
return self
472470

473471
def __exit__(

0 commit comments

Comments
 (0)