def clear(name):
    '''
    Clear the namespace from the register

    USAGE:

    .. code-block:: yaml

        clearns:
          reg.clear:
            - name: myregister
    '''
    ret = {'name': name,
           'changes': {},
           'comment': '',
           'result': True}
    if name in __reg__:
        __reg__[name].clear()
    return ret
def clear ( name ) : ret = { 'name' : name , 'changes' : { } , 'comment' : '' , 'result' : True } if name in __reg__ : __reg__ [ name ] . clear ( ) return ret
Clear the namespace from the register

    USAGE:

    .. code-block:: yaml

        clearns:
          reg.clear:
            - name: myregister