From f62cd133b36506a8d5074464493a8f9fc5fc4989 Mon Sep 17 00:00:00 2001 From: Neradoc Date: Mon, 28 Mar 2022 21:26:39 +0200 Subject: [PATCH] change :returns: to :return: --- adafruit_wiznet5k/adafruit_wiznet5k_socket.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/adafruit_wiznet5k/adafruit_wiznet5k_socket.py b/adafruit_wiznet5k/adafruit_wiznet5k_socket.py index 736e33c..8d80bbe 100644 --- a/adafruit_wiznet5k/adafruit_wiznet5k_socket.py +++ b/adafruit_wiznet5k/adafruit_wiznet5k_socket.py @@ -338,7 +338,7 @@ def recvfrom(self, bufsize=0, flags=0): :param int bufsize: Maximum number of bytes to receive. :param int flags: ignored, present for compatibility. - :returns: a tuple (bytes, address) where address is a tuple (ip, port) + :return: a tuple (bytes, address) where address is a tuple (ip, port) """ return ( self.recv(bufsize), @@ -354,7 +354,7 @@ def recv_into(self, buf, nbytes=0, flags=0): :param bytearray buf: Data buffer :param nbytes: Maximum number of bytes to receive :param int flags: ignored, present for compatibility. - :returns: the number of bytes received + :return: the number of bytes received """ if nbytes == 0: nbytes = len(buf) @@ -369,7 +369,7 @@ def recvfrom_into(self, buf, nbytes=0, flags=0): :param bytearray buf: Data buffer :param nbytes: Maximum number of bytes to receive :param int flags: ignored, present for compatibility. - :returns: a tuple (nbytes, address) where address is a tuple (ip, port) + :return: a tuple (nbytes, address) where address is a tuple (ip, port) """ return ( self.recv_into(buf, nbytes),