mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-19 18:31:14 +08:00
resort weakref classes (#11165)
This improves fidelity of naming and inheritance on 3.11+ related to https://github.com/python/typeshed/issues/3968 and https://github.com/python/typeshed/issues/11141 Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
@@ -535,10 +535,11 @@ wsgiref.handlers.BaseHandler.headers_sent
|
||||
wsgiref.handlers.BaseHandler.result
|
||||
wsgiref.handlers.BaseHandler.status
|
||||
|
||||
(_?weakref.ref|_?weakref.ReferenceType).__call__ # C function default annotation is wrong
|
||||
_?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
|
||||
_?weakref\.(ref|ReferenceType)\.__init__ # C implementation has incorrect signature
|
||||
_?weakref\.(ref|ReferenceType)\.__call__ # C function default annotation is wrong
|
||||
_?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
|
||||
weakref.WeakValueDictionary.setdefault # has a default value for the "default" argument, but always errors out if no value is supplied for the parameter by the user
|
||||
xml.dom.minidom.StringTypes # Unnecessary re-export
|
||||
|
||||
|
||||
Reference in New Issue
Block a user