self isn't with us
This commit is contained in:
parent
ea2bebc115
commit
fcdee97aa0
@ -16,7 +16,6 @@ from typing import (
|
|||||||
Generic,
|
Generic,
|
||||||
List,
|
List,
|
||||||
Optional,
|
Optional,
|
||||||
Self,
|
|
||||||
Tuple,
|
Tuple,
|
||||||
Type,
|
Type,
|
||||||
TypeVar,
|
TypeVar,
|
||||||
@ -1510,7 +1509,9 @@ if sys.version_info >= (3, 10):
|
|||||||
return self.func(*values) # type: ignore
|
return self.func(*values) # type: ignore
|
||||||
|
|
||||||
@overload
|
@overload
|
||||||
def __get__(self, instance: None, owner) -> Self: ...
|
def __get__(
|
||||||
|
self: EventCallback[P, T], instance: None, owner
|
||||||
|
) -> EventCallback[P, T]: ...
|
||||||
|
|
||||||
@overload
|
@overload
|
||||||
def __get__(self, instance, owner) -> Callable[P, T]: ...
|
def __get__(self, instance, owner) -> Callable[P, T]: ...
|
||||||
|
Loading…
Reference in New Issue
Block a user