1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Code styling tweaks to core helpers (#85441)

This commit is contained in:
Franck Nijhof
2023-01-09 00:44:09 +01:00
committed by GitHub
parent cf5fca0464
commit 06a35fb7db
22 changed files with 192 additions and 100 deletions

View File

@@ -115,7 +115,7 @@ def deprecated_class(
def deprecated_function(
replacement: str,
) -> Callable[[Callable[_P, _R]], Callable[_P, _R]]:
"""Mark function as deprecated and provide a replacement function to be used instead."""
"""Mark function as deprecated and provide a replacement to be used instead."""
def deprecated_decorator(func: Callable[_P, _R]) -> Callable[_P, _R]:
"""Decorate function as deprecated."""