106 | | ||urllib2||{{{from s3compat import urllib2||maps to urllib.requests in Py3, which is though only part of urllib2 - some urllib2 objects may need to be imported separately (see below)|| |
107 | | ||HTTPError||{{{from s3compat import HTTPError||replaces urllib2.HTTPError in Py2|| |
108 | | ||urlopen||{{{from s3compat import urlopen||replaces urllib.urlopen and urllib2.urlopen in Py2|| |
109 | | ||urlencode||{{{from s3compat import urlencode||replaces urllib.urlencode in Py2|| |
| 106 | ||urllib2||{{{from s3compat import urllib2}}}||maps to urllib.requests in Py3, which contains only part of Py2's urllib2 - some urllib2 objects therefore need to be imported separately (see below)|| |
| 107 | ||HTTPError||{{{from s3compat import HTTPError}}}||replaces urllib2.HTTPError in Py2|| |
| 108 | ||urlopen||{{{from s3compat import urlopen}}}||replaces urllib.urlopen and urllib2.urlopen in Py2|| |
| 109 | ||urlencode||{{{from s3compat import urlencode}}}||replaces urllib.urlencode in Py2|| |