massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / babel / babel / units.pyi
1 from typing import Any
2
3 class UnknownUnitError(ValueError):
4     def __init__(self, unit, locale) -> None: ...
5
6 def get_unit_name(measurement_unit, length: str = ..., locale=...): ...
7 def format_unit(value, measurement_unit, length: str = ..., format: Any | None = ..., locale=...): ...
8 def format_compound_unit(
9     numerator_value,
10     numerator_unit: Any | None = ...,
11     denominator_value: int = ...,
12     denominator_unit: Any | None = ...,
13     length: str = ...,
14     format: Any | None = ...,
15     locale=...,
16 ): ...