view roundup/anypy/ssl_.py @ 8497:9d1fde7a4bea

build: bump codecov/codecov-action from 5.5.1 to 5.5.2 (PR #76)
author John Rouillard <rouilj@ieee.org>
date Mon, 15 Dec 2025 09:45:32 -0500
parents d5d7ecd31864
children
line wrap: on
line source

try:
    # Python 3+
    from ssl import SSLError
except (ImportError, AttributeError):
    # Python 2.5-2.7
    from socket import sslerror as SSLError  # noqa: F401

Roundup Issue Tracker: http://roundup-tracker.org/