Update stubs

This commit is contained in:
Trinh Anh Ngoc
2021-11-12 15:05:06 +07:00
parent 04f30f1e1c
commit 365deb9845

View File

@@ -182,17 +182,17 @@ def ignore(*exc) -> None: ...
html_escape: Any html_escape: Any
def get_lang(env, lang_code: bool = ...): ... def get_lang(env, lang_code: str = ...): ...
def babel_locale_parse(lang_code): ... def babel_locale_parse(lang_code): ...
def formatLang(env, value, digits: Any | None = ..., grouping: bool = ..., monetary: bool = ..., dp: bool = ..., currency_obj: bool = ...): ... def formatLang(env, value, digits: Any | None = ..., grouping: bool = ..., monetary: bool = ..., dp: bool = ..., currency_obj: bool = ...): ...
def format_date(env, value, lang_code: bool = ..., date_format: bool = ...): ... def format_date(env, value, lang_code: str = ..., date_format: bool = ...): ...
def parse_date(env, value, lang_code: bool = ...): ... def parse_date(env, value, lang_code: str = ...): ...
def format_datetime(env, value, tz: bool = ..., dt_format: str = ..., lang_code: bool = ...): ... def format_datetime(env, value, tz: str = ..., dt_format: str = ..., lang_code: str = ...): ...
def format_time(env, value, tz: bool = ..., time_format: str = ..., lang_code: bool = ...): ... def format_time(env, value, tz: str = ..., time_format: str = ..., lang_code: str = ...): ...
def _format_time_ago(env, time_delta, lang_code: bool = ..., add_direction: bool = ...): ... def _format_time_ago(env, time_delta, lang_code: str = ..., add_direction: bool = ...): ...
def format_decimalized_number(number, decimal: int = ...): ... def format_decimalized_number(number, decimal: int = ...): ...
def format_decimalized_amount(amount, currency: Any | None = ...): ... def format_decimalized_amount(amount, currency: Any | None = ...): ...
def format_amount(env, amount, currency, lang_code: bool = ...): ... def format_amount(env, amount, currency, lang_code: str = ...): ...
def format_duration(value): ... def format_duration(value): ...
def _consteq(str1, str2): ... def _consteq(str1, str2): ...