mirror of
https://github.com/python/cpython.git
synced 2025-09-28 11:15:17 +00:00
merge
This commit is contained in:
commit
c46600d8f2
1 changed files with 1 additions and 1 deletions
|
@ -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 "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue