![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|
Classes | |
| class | Catalog |
| class | Message |
| class | TranslationError |
Functions | |
| get_close_matches (word, possibilities, n=3, cutoff=0.6) | |
| bool | _has_python_brace_format (str string) |
| datetime.datetime | _parse_datetime_header (str value) |
| dict[str, str] | parse_separated_header (str value) |
| str | _force_text (str|bytes s, str encoding='utf-8', str errors='strict') |
Variables | |
| TypeAlias | _MessageID = str | tuple[str, ...] | list[str] |
| PYTHON_FORMAT = re.compile(, re.VERBOSE) | |
| str | DEFAULT_HEADER |
babel.messages.catalog
~~~~~~~~~~~~~~~~~~~~~~
Data structures for message catalogs.
:copyright: (c) 2013-2025 by the Babel Team.
:license: BSD, see LICENSE for more details.
| babel.messages.catalog.get_close_matches | ( | word, | |
| possibilities, | |||
n = 3, |
|||
cutoff = 0.6 |
|||
| ) |
A modified version of ``difflib.get_close_matches``. It just passes ``autojunk=False`` to the ``SequenceMatcher``, to work around https://github.com/python/cpython/issues/90825.
| str babel.messages.catalog.DEFAULT_HEADER |