summaryrefslogtreecommitdiffstats
path: root/Doc/library/socket.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-09-14 03:32:35 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-09-14 03:32:35 (GMT)
commite0add764688a3f3237749e0c2830b669d2c76ca0 (patch)
treef69c0c5a605892fccf92fb7f25396dfcf2572231 /Doc/library/socket.rst
parent56f37aa965e794046dad62ddef2cb63e59e4f357 (diff)
downloadcpython-e0add764688a3f3237749e0c2830b669d2c76ca0.zip
cpython-e0add764688a3f3237749e0c2830b669d2c76ca0.tar.gz
cpython-e0add764688a3f3237749e0c2830b669d2c76ca0.tar.bz2
#15831: document multiple signatures on different lines. Patch by Chris Jerdonek.
Diffstat (limited to 'Doc/library/socket.rst')
-rw-r--r--Doc/library/socket.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index 0aef183..344a29f 100644
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -745,7 +745,8 @@ correspond to Unix system calls applicable to sockets.
much data, if any, was successfully sent.
-.. method:: socket.sendto(bytes[, flags], address)
+.. method:: socket.sendto(bytes, address)
+ socket.sendto(bytes, flags, address)
Send data to the socket. The socket should not be connected to a remote socket,
since the destination socket is specified by *address*. The optional *flags*