1
0
Fork 0
mirror of https://github.com/veekun/pokedex.git synced 2024-08-20 18:16:34 +00:00

Added lookup support for foreign language names.

Changed lookup()'s return value to be a list of named tuples so the
caller can know which language each result is in.
This commit is contained in:
Eevee 2009-08-21 00:30:01 -07:00
parent 0b5eba6620
commit 4e51867e95
3 changed files with 55 additions and 32 deletions
pokedex

View file

@ -131,4 +131,4 @@ def romanize(string):
if last_kana == 'sokuon':
raise ValueError("Sokuon cannot be the last character.")
return ''.join(characters)
return unicode(''.join(characters))