Skip to content

Commit

Permalink
PEP 252 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
bswck committed Feb 7, 2024
1 parent b1e7325 commit d2d54e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jaraco/classes/properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def __init__(
self.fset = fset # type: ignore[assignment] # Corrected in the next line.
fset and self.setter(fset)

def __get__(self, instance: object, owner: type[object]) -> _T:
def __get__(self, instance: object, owner: type[object] | None = None) -> _T:
return self.fget.__get__(None, owner)()

def __set__(self, owner: object, value: _T) -> None:
Expand Down

0 comments on commit d2d54e8

Please sign in to comment.