Add missing __init__ for ReferenceType (#12125)

This commit is contained in:
Max Muoto authored and GitHub committed 2024-06-18 13:00:40 +02:00
1 parent e29579458d
commit d7adfeb857
3 files changed
+7 -4

No files matched your search

@@ -540,7 +540,6 @@ wsgiref.handlers.BaseHandler.result
wsgiref.handlers.BaseHandler.status
(_?weakref.ref|_?weakref.ReferenceType).__call__ # C function default annotation is wrong
(_?weakref.ref|_?weakref.ReferenceType).__init__ # Runtime defines __new__ but stubtest thinks __init__ is also defined.
_?weakref.CallableProxyType.__getattr__ # Should have all attributes of proxy
_?weakref.ProxyType.__bytes__ # Doesn't actually exist
_?weakref.ProxyType.__getattr__ # Should have all attributes of proxy