def __init__(self, obj, tag): if not isinstance(obj, VReference): if isinstance(obj, VNativeObject): if obj._v_native_tag() != tag: raise VTaggedParseError('VNative tag mismatch') else: raise VTaggedParseError('Not a VReference or VNativeObject') VEntity.__init__(self) self._v_int_native_obj = obj._v_proxy() self._v_tag = tag self._v_active = False
def __init__(self, dim, data=None, fill=None, lazy=True): VEntity.__init__(self) VMultiArray.__init__(self, dim, data, fill, lazy)