Set default for newstyle (#3962)

* Set default for newstyle

* Change default values to ...
This commit is contained in:
Sam Bull
2020-05-14 02:01:30 +01:00
committed by GitHub
parent 3662bf89d5
commit 6932ff26c5

View File

@@ -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