Skip to content

A feature-rich command-line audio/video downloader

[compat] Clarify the versions requiring compat_kwargs

Yen Chi Hsuan614db89ae39a
diff --git a/youtube_dl/compat.py b/youtube_dl/compat.py
index a3e85264ac..8ab6880011 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