mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-10-29 09:26:20 -07: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