diff options
author | David Lord <davidism@gmail.com> | 2023-01-19 17:49:35 -0800 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2023-01-19 18:17:03 -0800 |
commit | 8ed8e1d0eda956aa0cdc6e216270be3ebcfd4b4a (patch) | |
tree | 842087b49f88a8764206336c7a21fc55f7335af2 /src/jinja2/runtime.py | |
parent | 614b045fab971de8b96853dbdd9b9c6c234de32f (diff) | |
download | jinja2-8ed8e1d0eda956aa0cdc6e216270be3ebcfd4b4a.tar.gz |
fix mypy strict findings
Diffstat (limited to 'src/jinja2/runtime.py')
-rw-r--r-- | src/jinja2/runtime.py | 5 |
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 |