[compat] Avoid type comparison in `compat_ord`
authordirkf <fieldhouse@gmx.net>
Tue, 28 May 2024 14:59:34 +0000 (15:59 +0100)
committerdirkf <fieldhouse@gmx.net>
Thu, 30 May 2024 14:46:36 +0000 (15:46 +0100)
commit768ccccd9b18bc48d129b12d14eace4ebb3655d8
treee04a77c1bafc8832a388957082a17c4882a1ef80
parenteee9a247eb3ef876ce6d9f5e34275e46a2d06d10
[compat] Avoid type comparison in `compat_ord`
NB This isn't actually a compat fn; it should be utils.int_from_int_or_char
youtube_dl/compat.py