mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-12-12 00:52:43 +01: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