Mercurial > p > roundup > code
view roundup/anypy/urllib_.py @ 8513:d7d91e25a1c2
chore(build): bump anchore/scan-action from 7.2.3 to 7.3.0 pull #80
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 27 Jan 2026 21:41:37 -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
