Skip to content

Commit f62cd13

Browse files
committed
change :returns: to :return:
1 parent bf0d353 commit f62cd13

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adafruit_wiznet5k/adafruit_wiznet5k_socket.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ def recvfrom(self, bufsize=0, flags=0):
338338
339339
:param int bufsize: Maximum number of bytes to receive.
340340
:param int flags: ignored, present for compatibility.
341-
:returns: a tuple (bytes, address) where address is a tuple (ip, port)
341+
:return: a tuple (bytes, address) where address is a tuple (ip, port)
342342
"""
343343
return (
344344
self.recv(bufsize),
@@ -354,7 +354,7 @@ def recv_into(self, buf, nbytes=0, flags=0):
354354
:param bytearray buf: Data buffer
355355
:param nbytes: Maximum number of bytes to receive
356356
:param int flags: ignored, present for compatibility.
357-
:returns: the number of bytes received
357+
:return: the number of bytes received
358358
"""
359359
if nbytes == 0:
360360
nbytes = len(buf)
@@ -369,7 +369,7 @@ def recvfrom_into(self, buf, nbytes=0, flags=0):
369369
:param bytearray buf: Data buffer
370370
:param nbytes: Maximum number of bytes to receive
371371
:param int flags: ignored, present for compatibility.
372-
:returns: a tuple (nbytes, address) where address is a tuple (ip, port)
372+
:return: a tuple (nbytes, address) where address is a tuple (ip, port)
373373
"""
374374
return (
375375
self.recv_into(buf, nbytes),

0 commit comments

Comments
 (0)