xtuml/meta.py
def delete(instance, disconnect=True):
    '''
    Delete an *instance* from its metaclass instance pool and optionally
    *disconnect* it from any links it might be connected to.
    '''
    if not isinstance(instance, Class):
        raise DeleteException("the provided argument is not an xtuml instance")
            
    return get_metaclass(instance).delete(instance, disconnect)
def delete(instance, disconnect=True):
    '''
    Delete an *instance* from its metaclass instance pool and optionally
    *disconnect* it from any links it might be connected to.
    '''
    if not isinstance(instance, Class):
        raise DeleteException("the provided argument is not an xtuml instance")
            
    return get_metaclass(instance).delete(instance, disconnect)
Delete an *instance* from its metaclass instance pool and optionally
    *disconnect* it from any links it might be connected to.