remove re.Match typing in '_number_replace()'

This commit is contained in:
kirianguiller 2021-02-16 17:41:06 +01:00
parent fb0655d1e7
commit 3911b87e54
1 changed files with 1 additions and 1 deletions

View File

@ -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: