class documentation

Representation of an alias in the locale data. An alias is a value that refers to some other part of the locale data, as specified by the `keys`.

Method __init__ Undocumented
Method __repr__ Undocumented
Method resolve Resolve the alias based on the given data.
Instance Variable keys Undocumented
def __init__(self, keys: tuple[str, ...]): (source)

Undocumented

def __repr__(self) -> str: (source)

Undocumented

def resolve(self, data: Mapping[(str|int)|None, Any]) -> Mapping[(str|int)|None, Any]: (source)

Resolve the alias based on the given data. This is done recursively, so if one alias resolves to a second alias, that second alias will also be resolved. :param data: the locale data :type data: `dict`

Undocumented