mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-10-02 06:18:37 +09:00
[utils] Revise isinstance()
tests (especially for str/unicode/bytes) to complete Linter fix
This commit is contained in:
@@ -36,7 +36,7 @@ try:
|
||||
)
|
||||
except NameError:
|
||||
compat_str, compat_basestring, compat_chr = (
|
||||
str, str, chr
|
||||
str, (str, bytes), chr
|
||||
)
|
||||
|
||||
# casefold
|
||||
|
Reference in New Issue
Block a user