Improve several stdlib setdefault methods (#9612)

This commit is contained in:
Alex Waygood
2023-01-31 23:39:24 +00:00
committed by GitHub
parent 064f7af176
commit 9e71de0421
5 changed files with 37 additions and 6 deletions

View File

@@ -214,6 +214,7 @@ weakref.ReferenceType.* # Alias for _weakref.ReferenceType, problems should be
weakref.WeakKeyDictionary.get
weakref.WeakKeyDictionary.update
weakref.WeakValueDictionary.get
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
weakref.ref.* # Alias for _weakref.ReferenceType, problems should be fixed there
webbrowser.UnixBrowser.remote_action # always overridden in inheriting class
webbrowser.UnixBrowser.remote_action_newtab # always overridden in inheriting class