Skip to content

Commit 82317c8

Browse files
committed
add docstring for timeout
1 parent 4c01b8d commit 82317c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

adafruit_esp32spi/adafruit_esp32spi_socket.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ def read(self, size=0):
139139
return ret
140140

141141
def settimeout(self, value):
142+
"""Set the read timeout for sockets, if value is 0 it will block"""
142143
self._timeout = value
143144

144145
def close(self):

0 commit comments

Comments
 (0)