summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-07-05 12:01:38 -0700
committerBenjamin Peterson <benjamin@python.org>2014-07-05 12:01:38 -0700
commitd82064d8bb98d27ebc22e300aee04022b9bf7d27 (patch)
treec3ebc126dfa73eba0cb9770b81bbdccc6a86d9e7
parenta343bd2820dcfbe5f6c5c02b5bca798f1a7449cb (diff)
downloadsix-d82064d8bb98d27ebc22e300aee04022b9bf7d27.tar.gz
add splituser mapping (fixes #80)
-rw-r--r--CHANGES2
-rw-r--r--documentation/index.rst1
-rw-r--r--six.py1
3 files changed, 4 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 8291af9..49553b4 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,8 @@ This file lists the changes in each six version.
Development version
-------------------
+- Issue #80: Add six.urllib.request.splituser mapping.
+
1.7.3
-----
diff --git a/documentation/index.rst b/documentation/index.rst
index 298bea7..45809bc 100644
--- a/documentation/index.rst
+++ b/documentation/index.rst
@@ -617,6 +617,7 @@ and :mod:`py2:urllib`:
* :func:`py2:urllib.quote`
* :func:`py2:urllib.quote_plus`
+* :func:`py2:urllib.splituser`
* :func:`py2:urllib.unquote`
* :func:`py2:urllib.unquote_plus`
* :func:`py2:urllib.urlencode`
diff --git a/six.py b/six.py
index f8f7d40..0a8ac02 100644
--- a/six.py
+++ b/six.py
@@ -317,6 +317,7 @@ _urllib_parse_moved_attributes = [
MovedAttribute("unquote_plus", "urllib", "urllib.parse"),
MovedAttribute("urlencode", "urllib", "urllib.parse"),
MovedAttribute("splitquery", "urllib", "urllib.parse"),
+ MovedAttribute("splituser", "urllib", "urllib.parse"),
]
for attr in _urllib_parse_moved_attributes:
setattr(Module_six_moves_urllib_parse, attr.name, attr)