From 1a1528fd2446908eea46be84b097dd2ca25f1ac1 Mon Sep 17 00:00:00 2001 From: Daizu Date: Tue, 1 Oct 2024 10:49:23 +0000 Subject: [PATCH] Update docs --- src/textconf/template.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/textconf/template.py b/src/textconf/template.py index 4c21d46..ddb1236 100644 --- a/src/textconf/template.py +++ b/src/textconf/template.py @@ -120,8 +120,8 @@ def is_template_method(obj: object) -> TypeGuard[Callable[[Any], Any]]: def is_template_params(params: Iterable[Parameter]) -> bool: """Check if the parameters are valid template parameters. - A valid template parameter is a positional or keyword parameter that is - not a variable positional or keyword parameter. + A valid template parameter is a positional or keyword parameter that has + no default value and is not a variable positional or keyword parameter. """ params = list(params)