mirror of
https://github.com/wassname/TTS.git
synced 2026-10-28 12:41:20 +08:00
remove re.Match typing in '_number_replace()'
This commit is contained in:
1 parent
3e59d3c28d
commit
a9ea71c601
1 file changed
+1
-1
@@ -105,7 +105,7 @@ def _num2chinese(num :str, big=False, simp=True, o=False, twoalt=False) -> str:
|
||||
|
||||
|
||||
|
||||
def _number_replace(match: re.Match) -> str:
|
||||
def _number_replace(match) -> str:
|
||||
"""function to apply in a match, transform all numbers in a match by chinese characters
|
||||
|
||||
Args:
|
||||
|
||||
Reference in new issue
Block a user