Skip to content

Commit ebe3bbc

Browse files
committed
Fix unhappy array typing
1 parent a6e68f3 commit ebe3bbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_dht.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def _pulses_to_binary(self, pulses: array.array[int], start: int, stop: int) ->
112112

113113
return binary
114114

115-
def _get_pulses_pulseio(self) -> array.array[int]:
115+
def _get_pulses_pulseio(self) -> array.array:
116116
"""_get_pulses implements the communication protocol for
117117
DHT11 and DHT22 type devices. It sends a start signal
118118
of a specific length and listens and measures the

0 commit comments

Comments
 (0)