Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Feb 9, 2024
1 parent afb47a1 commit b4afc5c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions yalexs/backports/functools.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,12 @@ def __set_name__(self, owner: type[Any], name: str) -> None:
@overload
def __get__( # noqa: E704
self, instance: None, owner: type[Any] | None = None
) -> Any:
...
) -> Any: ...

@overload
def __get__( # noqa: E704
self, instance: Any, owner: type[Any] | None = None
) -> _T:
...
) -> _T: ...

def __get__(self, instance: Any | None, owner: type[Any] | None = None) -> _T | Any:
"""Get."""
Expand Down

0 comments on commit b4afc5c

Please # to comment.