mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-34610: Fixed iterator of multiprocessing.managers.DictProxy. (GH-9113)
This commit is contained in:
parent
ddd1949fea
commit
e0e5065dae
3 changed files with 28 additions and 1 deletions
|
@ -1134,10 +1134,13 @@ class ListProxy(BaseListProxy):
|
|||
|
||||
|
||||
DictProxy = MakeProxyType('DictProxy', (
|
||||
'__contains__', '__delitem__', '__getitem__', '__len__',
|
||||
'__contains__', '__delitem__', '__getitem__', '__iter__', '__len__',
|
||||
'__setitem__', 'clear', 'copy', 'get', 'has_key', 'items',
|
||||
'keys', 'pop', 'popitem', 'setdefault', 'update', 'values'
|
||||
))
|
||||
DictProxy._method_to_typeid_ = {
|
||||
'__iter__': 'Iterator',
|
||||
}
|
||||
|
||||
|
||||
ArrayProxy = MakeProxyType('ArrayProxy', (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue