view roundup/anypy/ssl_.py @ 8092:f0d2aa39bc32

chore: update CHANGES.txt for listdir - scandir change. Also make line length to 65.
author John Rouillard <rouilj@ieee.org>
date Tue, 16 Jul 2024 10:43:53 -0400
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/