mercurial/util.py
changeset 17425 e95ec38f86b0
parent 17424 e7cfe3587ea4
child 17537 31f32a96e1e3
--- a/mercurial/util.py	Wed Aug 15 22:38:42 2012 +0200
+++ b/mercurial/util.py	Wed Aug 15 22:39:18 2012 +0200
@@ -1477,7 +1477,11 @@
                  for a in _hexdig for b in _hexdig)
 
 def _urlunquote(s):
-    """unquote('abc%20def') -> 'abc def'."""
+    """Decode HTTP/HTML % encoding.
+
+    >>> _urlunquote('abc%20def')
+    'abc def'
+    """
     res = s.split('%')
     # fastpath
     if len(res) == 1: