class documentation

class Locale(Tag, Enum):

View In Hierarchy

Enumeration describing lexical and orthographic variations

Method __init__ init method
Constant AFRICA Undocumented
Constant ALASKA Undocumented
Constant AMERICA Undocumented
Constant AUSTRALIA Undocumented
Constant BRAZIL Undocumented
Constant CANADA Undocumented
Constant EAST_AFRICA Undocumented
Constant ENGLAND Undocumented
Constant HAWAII Undocumented
Constant HONG_KONG Undocumented
Constant INDIA Undocumented
Constant IRELAND Undocumented
Constant MIDLAND_US Undocumented
Constant MIDWESTERN_US Undocumented
Constant NEW_ZEALAND Undocumented
Constant NORTHERN_ENGLAND Undocumented
Constant NORTHERN_IRELAND Undocumented
Constant PHILIPPINES Undocumented
Constant PORTUGAL Undocumented
Constant SCOTLAND Undocumented
Constant SINGAPORE Undocumented
Constant SOUTH_AFRICA Undocumented
Constant SOUTHERN_ENGLAND Undocumented
Constant UK Undocumented
Constant US Undocumented
Constant WALES Undocumented
Constant WESTERN_US Undocumented
Instance Variable index Index
Instance Variable super_tag the tag of the super
Property coarse_grained return the locale of the super
Property value Returns the tag value.
def __init__(self, super_tag, index):

init method

Parameters
super_tag:strthe tag of the super
index:intthe index
AFRICA =

Undocumented

Value
('AFRICA', auto())
ALASKA =

Undocumented

Value
('US', auto())
AMERICA =

Undocumented

Value
('AMERICA', auto())
AUSTRALIA =

Undocumented

Value
('AUSTRALIA', auto())
BRAZIL =

Undocumented

Value
('AMERICA', auto())
CANADA =

Undocumented

Value
('AMERICA', auto())
EAST_AFRICA =

Undocumented

Value
('AFRICA', auto())
ENGLAND =

Undocumented

Value
('UK', auto())
HAWAII =

Undocumented

Value
('US', auto())
HONG_KONG =

Undocumented

Value
('HONG_KONG', auto())
INDIA =

Undocumented

Value
('INDIA', auto())
IRELAND =

Undocumented

Value
('IRELAND', auto())
MIDLAND_US =

Undocumented

Value
('US', auto())
MIDWESTERN_US =

Undocumented

Value
('US', auto())
NEW_ZEALAND =

Undocumented

Value
('NEW_ZEALAND', auto())
NORTHERN_ENGLAND =

Undocumented

Value
('UK', auto())
NORTHERN_IRELAND =

Undocumented

Value
('UK', auto())
PHILIPPINES =

Undocumented

Value
('PHILIPPINES', auto())
PORTUGAL =

Undocumented

Value
('PORTUGAL', auto())
SCOTLAND =

Undocumented

Value
('UK', auto())
SINGAPORE =

Undocumented

Value
('SINGAPORE', auto())
SOUTH_AFRICA =

Undocumented

Value
('AFRICA', auto())
SOUTHERN_ENGLAND =

Undocumented

Value
('UK', auto())
UK =

Undocumented

Value
('UK', auto())
US =

Undocumented

Value
('US', auto())
WALES =

Undocumented

Value
('UK', auto())
WESTERN_US =

Undocumented

Value
('US', auto())
index: int =

Index

super_tag: str =

the tag of the super

@property
coarse_grained: "Locale" =

return the locale of the super

@property
value: Locale =

Returns the tag value.