Skip to content

Commit 1cfeb40

Browse files
author
brentru
committed
add deprecated note to docstring
1 parent bbc3004 commit 1cfeb40

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

adafruit_esp32spi/adafruit_esp32spi_socket.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ def send(self, data): # pylint: disable=no-self-use
9090
gc.collect()
9191

9292
def write(self, data):
93-
"""Sends data to the socket."""
93+
"""Sends data to the socket.
94+
NOTE: This method is deprecated and will be removed.
95+
"""
9496
self.send(data)
9597

9698
def readline(self):

0 commit comments

Comments
 (0)