Skip to content

Commit 53c6f8b

Browse files
fix comments
1 parent b9032ac commit 53c6f8b

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

Modules/clinic/socketmodule.c.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/socketmodule.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4626,7 +4626,6 @@ _socket_socket_send_impl(PySocketSockObject *s, Py_buffer *pbuf, int flags)
46264626
}
46274627

46284628

4629-
/* s.sendall(data [,flags]) method */
46304629
/*[clinic input]
46314630
_socket.socket.sendall
46324631
self as s: self(type="PySocketSockObject *")
@@ -4638,13 +4637,13 @@ Send a data string to the socket.
46384637
46394638
For the optional flags argument, see the Unix manual.
46404639
This calls send() repeatedly until all data is sent.
4641-
If an error occurs, it's impossible to tell how much data has been sent."
4640+
If an error occurs, it's impossible to tell how much data has been sent.
46424641
[clinic start generated code]*/
46434642

46444643
static PyObject *
46454644
_socket_socket_sendall_impl(PySocketSockObject *s, Py_buffer *pbuf,
46464645
int flags)
4647-
/*[clinic end generated code: output=ec92861424d3faa8 input=47fb8b126a4f16b3]*/
4646+
/*[clinic end generated code: output=ec92861424d3faa8 input=732b15b9ca64dce6]*/
46484647

46494648
{
46504649
char *buf;
@@ -4876,8 +4875,6 @@ sock_sendmsg_impl(PySocketSockObject *s, void *data)
48764875
return (ctx->result >= 0);
48774876
}
48784877

4879-
/* s.sendmsg(buffers[, ancdata[, flags[, address]]]) method */
4880-
48814878
/*[clinic input]
48824879
_socket.socket.sendmsg
48834880
self as s: self(type="PySocketSockObject *")

0 commit comments

Comments
 (0)