Show More
@@ -272,7 +272,7 b' if has_https:' | |||||
272 |
|
272 | |||
273 | try: |
|
273 | try: | |
274 | _create_connection = socket.create_connection |
|
274 | _create_connection = socket.create_connection | |
275 |
except |
|
275 | except AttributeError: | |
276 | def _create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, |
|
276 | def _create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, | |
277 | source_address=None): |
|
277 | source_address=None): | |
278 | # lifted from Python 2.6 |
|
278 | # lifted from Python 2.6 |
General Comments 0
You need to be logged in to leave comments.
Login now