Explorar o código

[compat] Mention unquote_plus

Sergey M․ %!s(int64=10) %!d(string=hai) anos
pai
achega
4d08161ac2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      youtube_dl/compat.py

+ 1 - 1
youtube_dl/compat.py

@@ -79,7 +79,7 @@ try:
     from urllib.parse import unquote as compat_urllib_parse_unquote
     from urllib.parse import unquote as compat_urllib_parse_unquote
     from urllib.parse import unquote_plus as compat_urllib_parse_unquote_plus
     from urllib.parse import unquote_plus as compat_urllib_parse_unquote_plus
 except ImportError:  # Python 2
 except ImportError:  # Python 2
-    # HACK: The following are the correct unquote_to_bytes and unquote
+    # HACK: The following are the correct unquote_to_bytes, unquote and unquote_plus
     # implementations from cpython 3.4.3's stdlib. Python 2's version
     # implementations from cpython 3.4.3's stdlib. Python 2's version
     # is apparently broken (see https://github.com/rg3/youtube-dl/pull/6244)
     # is apparently broken (see https://github.com/rg3/youtube-dl/pull/6244)