From 34b126e3da3fa26119a689dfaed6a46b3b97dcb0 Mon Sep 17 00:00:00 2001 From: Alexander Viklund Date: Sat, 12 Sep 2020 00:58:09 +0200 Subject: [PATCH] Fix wrong type for parse_until in template parser (#460) --- django-stubs/template/base.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django-stubs/template/base.pyi b/django-stubs/template/base.pyi index a6015e4..5e3a2e4 100644 --- a/django-stubs/template/base.pyi +++ b/django-stubs/template/base.pyi @@ -109,7 +109,7 @@ class Parser: builtins: Optional[List[Library]] = ..., origin: Optional[Origin] = ..., ) -> None: ... - def parse(self, parse_until: Optional[Tuple[str]] = ...) -> NodeList: ... + def parse(self, parse_until: Optional[Tuple[str, ...]] = ...) -> NodeList: ... def skip_past(self, endtag: str) -> None: ... def extend_nodelist(self, nodelist: NodeList, node: Node, token: Token) -> None: ... def error(self, token: Token, e: Union[Exception, str]) -> Exception: ...