summaryrefslogtreecommitdiffstats
path: root/Lib/socket.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-03-22 03:23:21 (GMT)
committerTim Peters <tim.peters@gmail.com>2006-03-22 03:23:21 (GMT)
commit0ae07bdb59756d54f058d403b149696763feee64 (patch)
tree9dc1bac9d3cea9838a1ff66d3c05237331ba6c46 /Lib/socket.py
parentb84de02f75c906fbcf519b4c89b9dbdd18837276 (diff)
downloadcpython-0ae07bdb59756d54f058d403b149696763feee64.zip
cpython-0ae07bdb59756d54f058d403b149696763feee64.tar.gz
cpython-0ae07bdb59756d54f058d403b149696763feee64.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/socket.py')
-rw-r--r--Lib/socket.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/socket.py b/Lib/socket.py
index 7e49192..73b477d 100644
--- a/Lib/socket.py
+++ b/Lib/socket.py
@@ -182,7 +182,7 @@ class _socketobject(object):
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")