Mercurial > p > roundup > code
view roundup/anypy/urllib_.py @ 8489:4e0944649af7
chore: update actions/checkout from 6.0.0 to 6.1.1 pull74
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 08 Dec 2025 23:07:57 -0500 |
| parents | 5c5723cd721a |
| children |
line wrap: on
line source
try: # Python 3+ from urllib.parse import parse_qs, quote, unquote, urlencode, urlparse, urlunparse from urllib.request import urlopen except ImportError: # Python 2.5-2.7 from urllib import quote, unquote, urlencode # noqa: F401 from urllib2 import urlopen # noqa: F401 from urlparse import parse_qs, urlparse, urlunparse # noqa: F401
