def _get_quote_indices(line, escaped):
 (indices, quote_index) = ([], (-1))
 for _ in range(2):
  quote_index = line.find('"', (quote_index + 1))
  if escaped:
   while ((quote_index >= 1) and (line[(quote_index - 1)] == '\\')):
    quote_index = line.find('"', (quote_index + 1))
  indices.append(quote_index)
 return tuple(indices)

def _get_quote_indices ( line , escaped ) : ( indices , quote_index ) = ( [ ] , ( - 1 ) ) for _ in range ( 2 ) : quote_index = line . find ( '"' , ( quote_index + 1 ) ) if escaped : while ( ( quote_index >= 1 ) and ( line [ ( quote_index - 1 ) ] == '\\' ) ) : quote_index = line . find ( '"' , ( quote_index + 1 ) ) indices . append ( quote_index ) return tuple ( indices )
provides the indices of the next two quotes in the given content .