mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
Fix a typo where the variable name was not updated.
This commit is contained in:
parent
41d4e32353
commit
09a86bc5ef
1 changed files with 1 additions and 1 deletions
|
@ -346,7 +346,7 @@ def transient_internet():
|
|||
time_out = TransientResource(IOError, errno=errno.ETIMEDOUT)
|
||||
socket_peer_reset = TransientResource(socket.error, errno=errno.ECONNRESET)
|
||||
ioerror_peer_reset = TransientResource(IOError, errno=errno.ECONNRESET)
|
||||
return contextlib.nested(time_out, peer_reset, ioerror_peer_reset)
|
||||
return contextlib.nested(time_out, socket_peer_reset, ioerror_peer_reset)
|
||||
|
||||
|
||||
#=======================================================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue