def _split_mod_var_names(resource_name):
    """ Return (module_name, class_name) pair from given string. """
    try:
        dot_index = resource_name.rindex('.')
    except __HOLE__:
        # no dot found
        return '', resource_name
    return resource_name[:dot_index], resource_name[dot_index + 1:]
dataset/ETHPy150Open wuher/devil/devil/perm/management.py/_split_mod_var_names