@@ -338,7 +338,7 @@ def recvfrom(self, bufsize=0, flags=0):
338
338
339
339
:param int bufsize: Maximum number of bytes to receive.
340
340
: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)
342
342
"""
343
343
return (
344
344
self .recv (bufsize ),
@@ -354,7 +354,7 @@ def recv_into(self, buf, nbytes=0, flags=0):
354
354
:param bytearray buf: Data buffer
355
355
:param nbytes: Maximum number of bytes to receive
356
356
:param int flags: ignored, present for compatibility.
357
- :returns : the number of bytes received
357
+ :return : the number of bytes received
358
358
"""
359
359
if nbytes == 0 :
360
360
nbytes = len (buf )
@@ -369,7 +369,7 @@ def recvfrom_into(self, buf, nbytes=0, flags=0):
369
369
:param bytearray buf: Data buffer
370
370
:param nbytes: Maximum number of bytes to receive
371
371
: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)
373
373
"""
374
374
return (
375
375
self .recv_into (buf , nbytes ),
0 commit comments