Python weirdness
This commit is contained in:
parent
eed61289b6
commit
b7d14efc8b
1 changed files with 0 additions and 1 deletions
|
@ -472,7 +472,6 @@ class Llama:
|
|||
# Contains multi-byte UTF8
|
||||
for k,char in enumerate(all_text[-3:]):
|
||||
k = 3 - k
|
||||
char = int.from_bytes(char, "big")
|
||||
for num,pattern in [(2, 192), (3, 224), (4, 240)]:
|
||||
# Bitwise AND check
|
||||
if (num > k and pattern & char == pattern):
|
||||
|
|
Loading…
Reference in a new issue