human
Complete this python program:
def dacl(obj_name=None, obj_type='file'):
assistant
#Here is the Python code you requested.

    """Helper function for instantiating a Dacl class.
    Args:
    obj_name (str): The full path to the object. If None, a blank DACL will
    be created. Default is None.
    obj_type (str): The type of object. Default is \File\
    Returns:
    object: An instantiated Dacl object
    """
    if (not HAS_WIN32):
        return
    class Dacl(flags(False), ):
        '\n                                DACL    Object\n                                '
        def __init__(self, obj_name=None, obj_type='file'):
            '\n                                                Either    load    the    DACL    from    the    passed    object    or    create    an    empty    DACL.\n                                                If    `obj_name`    is    not    passed,    an    empty    DACL    is    created.\n\n                                                Args:\n                                                                obj_name    (str):    The    full    path    to    the    object.    If    None,    a    blank\n                                                                DACL    will    be    created\n\n                                                                obj_type    (Optional[str]):    The    type    of    object.\n\n                                                Returns:\n                                                                obj:    A    DACL    object\n\n                                                Usage:\n\n                                                ..    code-block::    python\n\n                                                                #    Create    an    Empty    DACL\n                                                                dacl    =    Dacl(obj_type=obj_type)\n\n                                                                #    Load    the    DACL    of    the    named    object\n                                                                dacl    =    Dacl(obj_name,    obj_type)\n                                                '
            if (obj_type.lower() not in self.obj_type):
                raise SaltInvocationError('Invalid    "obj_type"    passed:    {0}'.format(obj_type))
            self.dacl_type = obj_type.lower()
            if (obj_name is None):
                self.dacl = win32security.ACL()
            else:
...