

def _pop_styles(args):
    styles = args.pop(STYLES_PARAM_NAME, [])
    if isinstance(styles, str):
        styles = styles.split(',')
    styles = [S for S in styles if S.lower().endswith('.css')]
    return styles

dataset/ETHPy150Open KeepSafe/ks-email-parser/email_parser/gui/gui.py _pop_styles/original