HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //snap/core20/current/lib/python3/dist-packages/urllib3/packages/__init__.py
from __future__ import absolute_import

__all__ = ("ssl_match_hostname",)

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