summaryrefslogtreecommitdiff
path: root/src/jinja2/environment.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/jinja2/environment.py')
-rw-r--r--src/jinja2/environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jinja2/environment.py b/src/jinja2/environment.py
index 833edf7..9c173b2 100644
--- a/src/jinja2/environment.py
+++ b/src/jinja2/environment.py
@@ -915,7 +915,7 @@ class Environment:
return names
- def handle_exception(self, source: t.Optional[str] = None) -> t.NoReturn:
+ def handle_exception(self, source: t.Optional[str] = None) -> "te.NoReturn":
"""Exception handling helper. This is used internally to either raise
rewritten exceptions or return a rendered traceback for the template.
"""