(proxy)
return mappingproxyobject.from_address(id(proxy)).mapping
Return the mapping contained in a mapping proxy object.
Return the mapping contained in a mapping proxy object.
Return the mapping contained in a mapping proxy object .
def unwrap_mappingproxy(proxy):
    """Return the mapping contained in a mapping proxy object."""

    if not isinstance(proxy, types.MappingProxyType):
        raise TypeError(
            'Expected a mapping proxy object, not {tp.__module__}.{tp.__qualname__}'
            .format(tp=type(proxy))
        )

    return mappingproxyobject.from_address(id(proxy)).mapping
def unwrap_mappingproxy ( proxy ) : if not isinstance ( proxy , types . MappingProxyType ) : raise TypeError ( 'Expected a mapping proxy object, not {tp.__module__}.{tp.__qualname__}' . format ( tp = type ( proxy ) ) ) return mappingproxyobject . from_address ( id ( proxy ) ) . mapping