Mercurial > p > roundup > code
view roundup/anypy/ssl_.py @ 8594:be128eb0a4e1
chore(ruff): refine imports and spacing fix.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 25 Apr 2026 18:05:41 -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
