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.
_weakref.ReferenceType.__new__
1 parent 9b63a49 commit 88506f0Copy full SHA for 88506f0
1 file changed
stdlib/_weakref.pyi
@@ -20,7 +20,7 @@ class ProxyType(Generic[_T]): # "weakproxy"
20
21
class ReferenceType(Generic[_T]):
22
__callback__: Callable[[ReferenceType[_T]], Any]
23
- def __new__(cls, o: _T, callback: Callable[[ReferenceType[_T]], Any] | None = ...) -> Self: ...
+ def __new__(cls, __o: _T, __callback: Callable[[ReferenceType[_T]], Any] | None = ...) -> Self: ...
24
def __call__(self) -> _T | None: ...
25
if sys.version_info >= (3, 9):
26
def __class_getitem__(cls, item: Any) -> GenericAlias: ...
0 commit comments