Author: Dodan Mihai <[email protected]>
Branch: py3.5-sendmsg-recvmsg
Changeset: r92282:7d4e4f3183e5
Date: 2017-08-30 15:17 +0300
http://bitbucket.org/pypy/pypy/changeset/7d4e4f3183e5/
Log: Fixed code formatting issues. Thanks rlamy!
diff --git a/pypy/module/_socket/interp_socket.py
b/pypy/module/_socket/interp_socket.py
--- a/pypy/module/_socket/interp_socket.py
+++ b/pypy/module/_socket/interp_socket.py
@@ -285,8 +285,6 @@
except SocketError as e:
raise converted_error(space, e)
-
-
def close_w(self, space):
"""close()
@@ -449,10 +447,9 @@
return space.newtuple([space.newbytes(data), w_addr])
@unwrap_spec(message_size=int, ancbufsize=int, flags=int)
- def recvmsg_w(self,space,message_size, ancbufsize = 0, flags = 0):
+ def recvmsg_w(self, space, message_size, ancbufsize=0, flags=0):
"""
- recvfrom(message_size[, ancbufsize[, flags]]) -> (message, ancillary,
flags, address)
- recvmsg(message_size, [ancbufsize,[flags]]) -> (message, ancillary,
flags, address)
+ recvmsg(message_size[, ancbufsize[, flags]]) -> (message, ancillary,
flags, address)
Receive normal data (up to bufsize bytes) and ancillary data from the
socket.
The ancbufsize argument sets the size in bytes of the internal buffer
used to receive the ancillary data;
it defaults to 0, meaning that no ancillary data will be received.
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit