view roundup/anypy/urllib_.py @ 8264:09e8d1a4c796

docs: clarify wording, fix index, add superseder link Make superseder, messages etc. properties index entries point to the right place. Link to description of using Superseder in the original overview. fix bad wording on boolean properties.
author John Rouillard <rouilj@ieee.org>
date Wed, 08 Jan 2025 11:39:54 -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

Roundup Issue Tracker: http://roundup-tracker.org/