We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b87bdc commit d0ee2f0Copy full SHA for d0ee2f0
test-data/unit/lib-stub/weakref.pyi
@@ -7,5 +7,6 @@ _T = TypeVar("_T")
7
class ReferenceType(Generic[_T]): # "weakref"
8
__callback__: Callable[[Self], Any]
9
def __new__(cls, o: _T, callback: Callable[[Self], Any] | None = ..., /) -> Self: ...
10
+ def __call__(self) -> _T: ...
11
12
ref = ReferenceType
0 commit comments