|
|
None | __init__ (self, tuple[str,...] keys) |
| |
|
str | __repr__ (self) |
| |
| Mapping[str|int|None, Any] | resolve (self, Mapping[str|int|None, Any] data) |
| |
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`.
◆ resolve()
| Mapping[str | int | None, Any] babel.localedata.Alias.resolve |
( |
|
self, |
|
|
Mapping[str | int | None, Any] |
data |
|
) |
| |
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`
The documentation for this class was generated from the following file:
- docs/help/help-venv/lib/python3.12/site-packages/babel/localedata.py