Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
babel.localedata.Alias Class Reference

Public Member Functions

None __init__ (self, tuple[str,...] keys)
 
str __repr__ (self)
 
Mapping[str|int|None, Any] resolve (self, Mapping[str|int|None, Any] data)
 

Public Attributes

 keys
 

Detailed Description

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`.

Member Function Documentation

◆ 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: