Merge pull request #2330 from falling/main

This commit is contained in:
jxxghp
2024-06-13 21:14:48 +08:00
committed by GitHub

View File

@ -142,7 +142,7 @@ class StringUtils:
"""
判断是否为英文单词有空格时返回False
"""
return word.isalpha()
return word.encode().isalpha()
@staticmethod
def str_int(text: str) -> int: