Skip to content

Commit 45f015d

Browse files
committed
pylint and comment
1 parent ef9255f commit 45f015d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit_esp32spi/adafruit_esp32spi_socket.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ def connect(self, address, conntype=None):
7878
self._buffer = b""
7979

8080
def send(self, data, conntype=None): # pylint: disable=no-self-use
81-
"""Send some data to the socket"""
81+
"""Send some data to the socket. 'conntype' is an extra that may
82+
indicate UDP or not, depending on the underlying interface"""
8283
if conntype is None:
8384
conntype = _the_interface.TCP_MODE
8485
_the_interface.socket_write(self._socknum, data, conn_mode=conntype)

0 commit comments

Comments
 (0)