original_docstring: Escapes a list of flags for consumption by gab.
  
    This is reverse to the encoding in //apphosting/runtime/go/builder/flags.go.
    Args:
      *flags:  A list of flag arguments to be escaped.
    Returns:
      A single escaped string.
    
docstring: Escapes a list of flags for consumption by gab.
docstring_tokens: Escapes a list of flags for consumption by gab .
code: def _escape_tool_flags(*flags):
    """Escapes a list of flags for consumption by gab.
  
    This is reverse to the encoding in //apphosting/runtime/go/builder/flags.go.
    Args:
      *flags:  A list of flag arguments to be escaped.
    Returns:
      A single escaped string.
    """
    return ','.join([f.replace('\\', r'\\').replace(',', r'\,') for f in flags])
code_tokens: def _escape_tool_flags ( * flags ) : return ',' . join ( [ f . replace ( '\\' , r'\\' ) . replace ( ',' , r'\,' ) for f in flags ] )
short_docstring: Escapes a list of flags for consumption by gab.
short_docstring_tokens: Escapes a list of flags for consumption by gab .
comment: """Escapes a list of flags for consumption by gab.
  
    This is reverse to the encoding in //apphosting/runtime/go/builder/flags.go.
    Args:
      *flags:  A list of flag arguments to be escaped.
    Returns:
      A single escaped string.
    """