(flaglist)
return '(' + ','.join(flaglist) + ')'
Transform a list to a string as expected for the IMAP4 standard.

    Example:
        >>> imapflags(['foo', 'boo')]
        '(foo,boo)'

    Args:
        flaglist (:obj:`list` of :obj:`str`): The flag list to transform.

    Returns:
        str: A string with the flag list.
Transform a list to a string as expected for the IMAP4 standard.
Transform a list to a string as expected for the IMAP4 standard .
def imapflags(flaglist):
    # type: (List[str]) -> str
    """Transform a list to a string as expected for the IMAP4 standard.

    Example:
        >>> imapflags(['foo', 'boo')]
        '(foo,boo)'

    Args:
        flaglist (:obj:`list` of :obj:`str`): The flag list to transform.

    Returns:
        str: A string with the flag list.

    """
    return '(' + ','.join(flaglist) + ')'
def imapflags ( flaglist ) : # type: (List[str]) -> str return '(' + ',' . join ( flaglist ) + ')'