Mercurial > p > roundup > code
view roundup/anypy/ssl_.py @ 7817:161a92d1fb71
doc: link to pology; document use of .Hint extracted comments
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 20 Mar 2024 11:47:04 -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
