diff --git a/jaraco/classes/properties.py b/jaraco/classes/properties.py index 3319a72..14644ee 100644 --- a/jaraco/classes/properties.py +++ b/jaraco/classes/properties.py @@ -2,7 +2,7 @@ from typing import TYPE_CHECKING, Generic, TypeVar, cast, overload -_T = TypeVar("_T") +_T = TypeVar('_T') if TYPE_CHECKING: from collections.abc import Callable @@ -205,7 +205,7 @@ def __set__(self, owner: object, value: _T) -> None: raise AttributeError("can't set attribute") if type(owner) is not classproperty.Meta: owner = type(owner) - return self.fset.__get__(None, cast("type[object]", owner))(value) + return self.fset.__get__(None, cast('type[object]', owner))(value) def setter(self, fset: _SetterCallable[_T] | _SetterClassMethod[_T]) -> Self: self.fset = self._ensure_method(fset)