Mercurial > p > roundup > code
view roundup/anypy/urllib_.py @ 8511:b91d8a4e5850 permission-performance
close incorporated branch -- hg diff -r "ancestor(default,permission-performance)" -r permission-performance; returns nothing
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 27 Jan 2026 21:22:47 -0500 |
| parents | d5d7ecd31864 |
| children | 5c5723cd721a |
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
