You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> from lingua import Language
>>> str(Language)
"<class 'builtins.Language'>"
>>> str(Language.ENGLISH)
'Language.ENGLISH'
>>> repr(Language.ENGLISH)
'Language.ENGLISH'
I propose to implement a __str__() method that shows a human-friendly name of the language, and I suggest it to be in English.
The text was updated successfully, but these errors were encountered:
I propose to implement a
__str__()
method that shows a human-friendly name of the language, and I suggest it to be in English.The text was updated successfully, but these errors were encountered: