Change enum members in Locale to be snake_case

Not even sure how this slipped through.
This commit is contained in:
Rapptz 2022-03-05 23:07:55 -05:00
parent e491aa84e5
commit 06291d860c
2 changed files with 4 additions and 4 deletions

View File

@ -625,8 +625,8 @@ class Locale(Enum):
norwegian = 'no'
polish = 'pl'
brazil_portuguese = 'pt-BR'
Romanian = 'ro'
Russian = 'ru'
romanian = 'ro'
russian = 'ru'
spain_spanish = 'es-ES'
swedish = 'sv-SE'
thai = 'th'

View File

@ -2579,11 +2579,11 @@ of :class:`enum.Enum`.
The ``pt-BR`` locale.
.. attribute:: Romanian
.. attribute:: romanian
The ``ro`` locale.
.. attribute:: Russian
.. attribute:: russian
The ``ru`` locale.