mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-23 04:11:28 +08:00
Set default for newstyle (#3962)
* Set default for newstyle * Change default values to ...
This commit is contained in:
6
third_party/2and3/jinja2/environment.pyi
vendored
6
third_party/2and3/jinja2/environment.pyi
vendored
@@ -118,9 +118,9 @@ class Environment:
|
||||
|
||||
# Frequently added extensions are included here:
|
||||
# from InternationalizationExtension:
|
||||
def install_gettext_translations(self, translations: Any, newstyle: Optional[bool]): ...
|
||||
def install_null_translations(self, newstyle: Optional[bool]): ...
|
||||
def install_gettext_callables(self, gettext: Callable[..., Any], ngettext: Callable[..., Any], newstyle: Optional[bool]): ...
|
||||
def install_gettext_translations(self, translations: Any, newstyle: Optional[bool] = ...): ...
|
||||
def install_null_translations(self, newstyle: Optional[bool] = ...): ...
|
||||
def install_gettext_callables(self, gettext: Callable[..., Any], ngettext: Callable[..., Any], newstyle: Optional[bool] = ...): ...
|
||||
def uninstall_gettext_translations(self, translations: Any): ...
|
||||
def extract_translations(self, source: Any, gettext_functions: Any): ...
|
||||
newstyle_gettext: bool
|
||||
|
||||
Reference in New Issue
Block a user