mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-28 22:25:52 +01:00
[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
This commit is contained in:
parent
1358b94163
commit
614db89ae3
@ -433,7 +433,7 @@ def compat_getpass(prompt, *args, **kwargs):
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user