diff --git a/Lib/urllib/parse.py b/Lib/urllib/parse.py index 33790da3f99..b39fc25eb84 100644 --- a/Lib/urllib/parse.py +++ b/Lib/urllib/parse.py @@ -341,7 +341,7 @@ def unquote(string, encoding='utf-8', errors='replace'): encoding = 'utf-8' if errors is None: errors = 'replace' - # pct_sequence: contiguous sequence of percent-encoded bytes + # pct_sequence: contiguous sequence of percent-encoded bytes, decoded pct_sequence = b'' string = res[0] for item in res[1:]: