summaryrefslogtreecommitdiff
path: root/src/jinja2/runtime.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/jinja2/runtime.py')
-rw-r--r--src/jinja2/runtime.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/jinja2/runtime.py b/src/jinja2/runtime.py
index 93e21b4..c64999d 100644
--- a/src/jinja2/runtime.py
+++ b/src/jinja2/runtime.py
@@ -259,7 +259,10 @@ class Context:
@internalcode
def call(
- __self, __obj: t.Callable, *args: t.Any, **kwargs: t.Any # noqa: B902
+ __self, # noqa: B902
+ __obj: t.Callable[..., t.Any],
+ *args: t.Any,
+ **kwargs: t.Any,
) -> t.Union[t.Any, "Undefined"]:
"""Call the callable with the arguments and keyword arguments
provided but inject the active context or environment as first