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 0d3fde3 commit c49def8Copy full SHA for c49def8
adafruit_onewire/device.py
@@ -28,7 +28,7 @@ def __enter__(self):
28
self._select_rom()
29
return self
30
31
- def __exit__(self, *exc):
+ def __exit__(self, exception_type: Optional[Type[type]], exception_value: Optional[BaseException], traceback: Optional[TracebackType]) -> bool:
32
return False
33
34
def readinto(self, buf, *, start=0, end=None):
0 commit comments