diff --git a/Lib/socket.py b/Lib/socket.py index 7e49192b418..73b477dccd9 100644 --- a/Lib/socket.py +++ b/Lib/socket.py @@ -182,7 +182,7 @@ def makefile(self, mode='r', bufsize=-1): Return a regular file object corresponding to the socket. The mode and bufsize arguments are as for the built-in open() function.""" return _fileobject(self._sock, mode, bufsize) - + family = property(lambda self: self._sock.family, doc="the socket family") type = property(lambda self: self._sock.type, doc="the socket type") proto = property(lambda self: self._sock.proto, doc="the socket protocol")