bpo-35918: Remove broken has_key method and add test (#11819)

This commit is contained in:
Rémi Lapeyre 2019-02-12 01:37:24 +01:00 committed by Giampaolo Rodola
parent 522346d792
commit a31f4cc881
3 changed files with 3 additions and 3 deletions

View file

@ -1135,7 +1135,7 @@ class ListProxy(BaseListProxy):
DictProxy = MakeProxyType('DictProxy', (
'__contains__', '__delitem__', '__getitem__', '__iter__', '__len__',
'__setitem__', 'clear', 'copy', 'get', 'has_key', 'items',
'__setitem__', 'clear', 'copy', 'get', 'items',
'keys', 'pop', 'popitem', 'setdefault', 'update', 'values'
))
DictProxy._method_to_typeid_ = {