update bots
This commit is contained in:
13
.venv/lib/python3.12/site-packages/faker/decode/__init__.py
Normal file
13
.venv/lib/python3.12/site-packages/faker/decode/__init__.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from .codes import codes
|
||||
|
||||
|
||||
def unidecode(txt: str) -> str:
|
||||
chars = ""
|
||||
for ch in txt:
|
||||
codepoint = ord(ch)
|
||||
|
||||
try:
|
||||
chars += codes[codepoint]
|
||||
except IndexError:
|
||||
pass
|
||||
return chars
|
||||
Reference in New Issue
Block a user