Skip to content
Myr

mark top-level names as exported

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent 21fa00b · Browse files · 2 files+34 added−32 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+34 added−32 removed

  • other:+34 added−32 removed

2 files+34 added−32 removed

modified:src/jinja2/__init__.py+31 added-31 removed
1"""Jinja is a template engine written in pure Python. It provides a2non-XML syntax that supports inline expressions and an optional3sandboxed environment.4"""5from .bccache import BytecodeCache6from .bccache import FileSystemBytecodeCache7from .bccache import MemcachedBytecodeCache8from .environment import Environment9from .environment import Template10from .exceptions import TemplateAssertionError11from .exceptions import TemplateError12from .exceptions import TemplateNotFound13from .exceptions import TemplateRuntimeError14from .exceptions import TemplatesNotFound15from .exceptions import TemplateSyntaxError16from .exceptions import UndefinedError5from .bccache import BytecodeCache as BytecodeCache6from .bccache import FileSystemBytecodeCache as FileSystemBytecodeCache7from .bccache import MemcachedBytecodeCache as MemcachedBytecodeCache8from .environment import Environment as Environment9from .environment import Template as Template10from .exceptions import TemplateAssertionError as TemplateAssertionError11from .exceptions import TemplateError as TemplateError12from .exceptions import TemplateNotFound as TemplateNotFound13from .exceptions import TemplateRuntimeError as TemplateRuntimeError14from .exceptions import TemplatesNotFound as TemplatesNotFound15from .exceptions import TemplateSyntaxError as TemplateSyntaxError16from .exceptions import UndefinedError as UndefinedError17from .filters import contextfilter18from .filters import environmentfilter19from .filters import evalcontextfilter20from .loaders import BaseLoader21from .loaders import ChoiceLoader22from .loaders import DictLoader23from .loaders import FileSystemLoader24from .loaders import FunctionLoader25from .loaders import ModuleLoader26from .loaders import PackageLoader27from .loaders import PrefixLoader28from .runtime import ChainableUndefined29from .runtime import DebugUndefined30from .runtime import make_logging_undefined31from .runtime import StrictUndefined32from .runtime import Undefined33from .utils import clear_caches20from .loaders import BaseLoader as BaseLoader21from .loaders import ChoiceLoader as ChoiceLoader22from .loaders import DictLoader as DictLoader23from .loaders import FileSystemLoader as FileSystemLoader24from .loaders import FunctionLoader as FunctionLoader25from .loaders import ModuleLoader as ModuleLoader26from .loaders import PackageLoader as PackageLoader27from .loaders import PrefixLoader as PrefixLoader28from .runtime import ChainableUndefined as ChainableUndefined29from .runtime import DebugUndefined as DebugUndefined30from .runtime import make_logging_undefined as make_logging_undefined31from .runtime import StrictUndefined as StrictUndefined32from .runtime import Undefined as Undefined33from .utils import clear_caches as clear_caches34from .utils import contextfunction35from .utils import environmentfunction36from .utils import escape37from .utils import evalcontextfunction38from .utils import is_undefined38from .utils import is_undefined as is_undefined39from .utils import Markup40from .utils import pass_context41from .utils import pass_environment42from .utils import pass_eval_context43from .utils import select_autoescape40from .utils import pass_context as pass_context41from .utils import pass_environment as pass_environment42from .utils import pass_eval_context as pass_eval_context43from .utils import select_autoescape as select_autoescape4445__version__ = "3.0.1.dev0"
modified:CHANGES.rst+3 added-1 removed
3 unmodified lines
4-------------56Unreleased78- Update MarkupSafe dependency to >= 2.0.8- Update MarkupSafe dependency to >= 2.0. :pr:`1418`9- Mark top-level names as exported so type checking understands10 imports in user projects. :issue:`1426`111213Version 3.0.014-------------
858 unmodified lines