mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +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
|
# see if it's connected
|
||||||
try:
|
try:
|
||||||
socket.getpeername(self)
|
socket.getpeername(self)
|
||||||
except socket.error:
|
except socket_error:
|
||||||
# no, no connection yet
|
# no, no connection yet
|
||||||
self._sslobj = None
|
self._sslobj = None
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue