bitcoin/ecc: some more type annotations
This commit is contained in:
@@ -74,7 +74,7 @@ def is_CJK(c):
|
||||
return False
|
||||
|
||||
|
||||
def normalize_text(seed):
|
||||
def normalize_text(seed: str) -> str:
|
||||
# normalize
|
||||
seed = unicodedata.normalize('NFKD', seed)
|
||||
# lower
|
||||
|
||||
Reference in New Issue
Block a user