From 9c11dd65ff93e141560f0e1c7a7c590eef4ee1cc Mon Sep 17 00:00:00 2001 From: David Lord Date: Wed, 28 May 2025 11:44:50 -0700 Subject: [PATCH] fix typo --- src/jinja2/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/jinja2/__init__.py b/src/jinja2/__init__.py index 93bc0233..25ca1c48 100644 --- a/src/jinja2/__init__.py +++ b/src/jinja2/__init__.py @@ -47,11 +47,11 @@ def __getattr__(name: str) -> t.Any: warnings.warn( "The `__version__` attribute is deprecated and will be removed in" - " Werkzeug 3.3. Use feature detection or" - ' `importlib.metadata.version("werkzeug")` instead.', + " Jinja 3.3. Use feature detection or" + ' `importlib.metadata.version("jinja2")` instead.', DeprecationWarning, stacklevel=2, ) - return importlib.metadata.version("werkzeug") + return importlib.metadata.version("jinja2") raise AttributeError(name) -- 2.47.2