Browse Source

[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
master
Yen Chi Hsuan 8 years ago
parent
commit
614db89ae3
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/compat.py

2
youtube_dl/compat.py

@ -433,7 +433,7 @@ if sys.version_info < (3, 0) and sys.platform == 'win32':
else: else:
compat_getpass = getpass.getpass 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: try:
def _testfunc(x): def _testfunc(x):
pass pass

Loading…
Cancel
Save