Skip to content

Commit

Permalink
- fix iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
tcfranks committed Nov 1, 2022
1 parent f827363 commit 5009dbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adafruit_mlx90640.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from adafruit_bus_device.i2c_device import I2CDevice

try:
from typing import Iterator, List, Optional, Tuple, Union
from typing import List, Optional, Tuple, Union
from busio import I2C
except ImportError:
pass
Expand Down Expand Up @@ -776,7 +776,7 @@ def _ExtractDeviatingPixels(self) -> None:
if self._ArePixelsAdjacent(brokenPixel, outlierPixel):
raise RuntimeError("Adjacent broken and outlier pixels")

def _UniqueListPairs(self, inputList: List[int]) -> Iterator[Tuple[int, int]]:
def _UniqueListPairs(self, inputList: List[int]) -> Tuple[int, int]:
# pylint: disable=no-self-use
for i, listValue1 in enumerate(inputList):
for listValue2 in inputList[i + 1 :]:
Expand Down

0 comments on commit 5009dbc

Please sign in to comment.