This commit is contained in:
Giampaolo Rodola' 2013-11-12 23:09:01 +01:00
commit c46600d8f2
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ class socket(_socket.socket):
address(es).
"""
closed = getattr(self, '_closed', False)
s = "<%s.%s%s fd=%i, family=%i, type=%i, proto=%i" \
s = "<%s.%s%s fd=%i, family=%s, type=%s, proto=%i" \
% (self.__class__.__module__,
self.__class__.__name__,
" [closed]" if closed else "",