Correct docstring typo

pull/136049/head
Andrew Sayre 2025-01-20 04:52:10 +00:00
parent 84e4b71d5c
commit 3956d0ceeb
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ type _ReturnFuncType[**_P] = Callable[_P, Coroutine[Any, Any, None]]
def catch_action_error[**_P](
action: str,
) -> Callable[[_FuncType[_P]], _ReturnFuncType[_P]]:
"""Return decorator that caches errors and raises HomeAssistantError."""
"""Return decorator that catches errors and raises HomeAssistantError."""
def decorator(func: _FuncType[_P]) -> _ReturnFuncType[_P]:
@wraps(func)