diff options
Diffstat (limited to 'src/jinja2/ext.py')
-rw-r--r-- | src/jinja2/ext.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jinja2/ext.py b/src/jinja2/ext.py index cbcf8f3..2cca1b3 100644 --- a/src/jinja2/ext.py +++ b/src/jinja2/ext.py @@ -513,7 +513,7 @@ class WithExtension(Extension): super().__init__(environment) warnings.warn( "The 'with' extension is deprecated and will be removed in" - " version 3.1. This is built in now.", + " Jinja 3.1. This is built in now.", DeprecationWarning, stacklevel=2, ) @@ -523,8 +523,8 @@ class AutoEscapeExtension(Extension): def __init__(self, environment): super().__init__(environment) warnings.warn( - "The 'autoescape' extension is deprecated and will be removed in" - " version 3.1. This is built in now.", + "The 'autoescape' extension is deprecated and will be" + " removed in Jinja 3.1. This is built in now.", DeprecationWarning, stacklevel=2, ) |