Commit 98c2c15f authored by Jason Madden's avatar Jason Madden Committed by GitHub

Merge pull request #1030 from felixonmars/patch-2

Fix a typo in _socket3.py [skip ci]
parents 0e524d81 24114eea
......@@ -114,7 +114,7 @@ class socket(object):
s = _socket.socket.__repr__(self._sock)
except Exception as ex: # pylint:disable=broad-except
# Observed on Windows Py3.3, printing the repr of a socket
# that just sufferred a ConnectionResetError [WinError 10054]:
# that just suffered a ConnectionResetError [WinError 10054]:
# "OverflowError: no printf formatter to display the socket descriptor in decimal"
# Not sure what the actual cause is or if there's a better way to handle this
s = '<socket [%r]>' % ex
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment