Skip to content

Commit

Permalink
Prefer single quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
bswck committed Feb 7, 2024
1 parent 8408287 commit 032ecc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jaraco/classes/properties.py
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 032ecc1

Please sign in to comment.