aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-01-16 22:17:31 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-01-16 22:17:31 +0800
commit614db89ae39a922ddbbfbd34e667933bc05c6b04 (patch)
tree5ed8861d6d008b640d581467a7d181e2b9fb108b
parent1358b94163899d38cfe1106eb4d734996f42328e (diff)
[compat] Clarify the versions requiring compat_kwargs
It's supported since 2.7.0 alpha 1 and 2.6.5 rc 1. See https://hg.python.org/cpython/file/v2.7a1/Misc/NEWS#l337 https://hg.python.org/cpython/file/v2.6.5rc1/Misc/NEWS#l28
-rw-r--r--youtube_dl/compat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/compat.py b/youtube_dl/compat.py
index a3e85264a..8ab688001 100644
--- a/youtube_dl/compat.py
+++ b/youtube_dl/compat.py
@@ -433,7 +433,7 @@ if sys.version_info < (3, 0) and sys.platform == 'win32':
else:
compat_getpass = getpass.getpass
-# Old 2.6 and 2.7 releases require kwargs to be bytes
+# Python < 2.6.5 require kwargs to be bytes
try:
def _testfunc(x):
pass