Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
daizutabi committed Oct 1, 2024
1 parent d5e37fc commit 1a1528f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/textconf/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1a1528f

Please sign in to comment.