Source

pypy / pypy / objspace / std / dictproxyobject.py

The branch 'getdict-signature' does not exist.
Full commit
from pypy.objspace.std.model import registerimplementation, W_Object
from pypy.objspace.std.register_all import register_all

def descr_get_dictproxy(space, w_obj):
    return W_DictProxyObject(w_obj.getdict(space))

class W_DictProxyObject(W_Object):
    from pypy.objspace.std.dictproxytype import dictproxy_typedef as typedef

    def __init__(w_self, w_dict):
        w_self.w_dict = w_dict

registerimplementation(W_DictProxyObject)

register_all(vars())