def _format_str(*args):
 return_tuple = []
 for i in args:
  r = repr(i)
  if ((isinstance(i, bytes) or isinstance(i, unicode)) and ('\n' in i)):
   stripped = ''
   if (isinstance(i, unicode) and r.startswith('u')):
    stripped = r[0]
    r = r[1:]
   elif (isinstance(i, bytes) and r.startswith('b')):
    stripped = r[0]
    r = r[1:]
   quote_char = r[0]
   assert (quote_char in ("'", '"')), quote_char
   assert (r[0] == r[(-1)])
   r = r[1:(-1)]
   r = ((((stripped + (3 * quote_char)) + '\\\n') + re.sub('(?<!\\\\)((\\\\\\\\)*)\\\\n', '\\1\\n', r)) + (3 * quote_char))
   r = re.sub(' \\n', ' \\\\n\\\\\\n', r)
  return_tuple.append(r)
 return tuple(return_tuple)

def _format_str ( * args ) : return_tuple = [ ] for i in args : r = repr ( i ) if ( ( isinstance ( i , bytes ) or isinstance ( i , unicode ) ) and ( '\n' in i ) ) : stripped = '' if ( isinstance ( i , unicode ) and r . startswith ( 'u' ) ) : stripped = r [ 0 ] r = r [ 1 : ] elif ( isinstance ( i , bytes ) and r . startswith ( 'b' ) ) : stripped = r [ 0 ] r = r [ 1 : ] quote_char = r [ 0 ] assert ( quote_char in ( "'" , '"' ) ) , quote_char assert ( r [ 0 ] == r [ ( - 1 ) ] ) r = r [ 1 : ( - 1 ) ] r = ( ( ( ( stripped + ( 3 * quote_char ) ) + '\\\n' ) + re . sub ( '(?<!\\\\)((\\\\\\\\)*)\\\\n' , '\\1\\n' , r ) ) + ( 3 * quote_char ) ) r = re . sub ( ' \\n' , ' \\\\n\\\\\\n' , r ) return_tuple . append ( r ) return tuple ( return_tuple )
return a tuple containing representations of all args .