diff options
author | dirkf <fieldhouse@gmx.net> | 2023-07-30 21:47:48 +0100 |
---|---|---|
committer | dirkf <fieldhouse@gmx.net> | 2023-08-01 01:05:09 +0100 |
commit | 2d2a4bc8324fc4bc5a235cbd1ee0b0769912bfd1 (patch) | |
tree | f2d3ad31878d3a944b2d3ca094e09f9949f1cda8 /youtube_dl/compat.py | |
parent | 7d965e6b65655f2a5fbae34219fc87359a3d7061 (diff) | |
download | youtube-dl-2d2a4bc8324fc4bc5a235cbd1ee0b0769912bfd1.tar.xz |
[utils] Revise `isinstance()` tests (especially for str/unicode/bytes) to complete Linter fix
Diffstat (limited to 'youtube_dl/compat.py')
-rw-r--r-- | youtube_dl/compat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/compat.py b/youtube_dl/compat.py index 54ad64674..3c526a78d 100644 --- a/youtube_dl/compat.py +++ b/youtube_dl/compat.py @@ -36,7 +36,7 @@ try: ) except NameError: compat_str, compat_basestring, compat_chr = ( - str, str, chr + str, (str, bytes), chr ) # casefold |