mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
fix name usage
This commit is contained in:
parent
9c069fd76e
commit
c071d3a41c
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class SSLSocket(socket):
|
|||
# see if it's connected
|
||||
try:
|
||||
socket.getpeername(self)
|
||||
except socket.error:
|
||||
except socket_error:
|
||||
# no, no connection yet
|
||||
self._sslobj = None
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue