Author: Richard Plangger <[email protected]>
Branch: py3.5
Changeset: r88739:278c99b028ec
Date: 2016-11-29 15:35 +0100
http://bitbucket.org/pypy/pypy/changeset/278c99b028ec/

Log:    blind fix, cpython test suite tests the repr. of sockets, it renamed
        protocol to proto

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
@@ -216,7 +216,7 @@
     def descr_repr(self, space):
         fd = intmask(self.sock.fd)  # Force to signed type even on Windows.
         return space.wrap("<socket object, fd=%d, family=%d,"
-                          " type=%d, protocol=%d>" %
+                          " type=%d, proto=%d>" %
                           (fd, self.sock.family,
                            self.sock.type, self.sock.proto))
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to