def ParseFlags(resp):

    mo = Flags.match(resp)
    if not mo:
        return ()

    return tuple(mo.group('flags').split())
Makes list from a string or passes argument as is.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/imaplib.py/ParseFlags--crossover with--dataset/ETHPy150Open svetlyak40wt/gtdzen/gtdzen/utils.py/make_list