summaryrefslogtreecommitdiff
path: root/six.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2017-09-16 15:03:17 -0400
committerBenjamin Peterson <benjamin@python.org>2017-09-16 12:03:17 -0700
commitbdc84baaac0071c12cf09a83dbe7a9bbabe4b5cb (patch)
tree62d82469bc6387ec2d142a98167b140e7d572785 /six.py
parentbb221f27b2860dc660f95f6689cd1ef1d4af70da (diff)
downloadsix-git-bdc84baaac0071c12cf09a83dbe7a9bbabe4b5cb.tar.gz
Add parse_http_list and parse_keqv_list to moved urllib.request (#203)
Diffstat (limited to 'six.py')
-rw-r--r--six.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/six.py b/six.py
index 07fe045..65ac434 100644
--- a/six.py
+++ b/six.py
@@ -420,6 +420,8 @@ _urllib_request_moved_attributes = [
MovedAttribute("URLopener", "urllib", "urllib.request"),
MovedAttribute("FancyURLopener", "urllib", "urllib.request"),
MovedAttribute("proxy_bypass", "urllib", "urllib.request"),
+ MovedAttribute("parse_http_list", "urllib2", "urllib.request"),
+ MovedAttribute("parse_keqv_list", "urllib2", "urllib.request"),
]
for attr in _urllib_request_moved_attributes:
setattr(Module_six_moves_urllib_request, attr.name, attr)