Skip to content

Commit 9484698

Browse files
add Path type argument to tuple returned by get_app_template_dirs (#2266)
1 parent 3f0da4f commit 9484698

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

django-stubs/template/utils.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from collections.abc import Iterator
2+
from pathlib import Path
23
from typing import Any
34

45
from django.core.exceptions import ImproperlyConfigured
@@ -15,4 +16,4 @@ class EngineHandler:
1516
def __iter__(self) -> Iterator[Any]: ...
1617
def all(self) -> list[BaseEngine]: ...
1718

18-
def get_app_template_dirs(dirname: str) -> tuple: ...
19+
def get_app_template_dirs(dirname: str) -> tuple[Path, ...]: ...

0 commit comments

Comments
 (0)