blob: 10a3aa81001023ca7cbe2635f563dec57e178479 (
plain)
1
2
3
4
5
6
7
8
9
|
from __future__ import absolute_import
try:
# cPython >= 2.7.9 has ssl features backported from Python3
from ssl import CertificateError
del CertificateError
import ssl as ssl_match_hostname
except ImportError:
from . import ssl_match_hostname
|