parameters: (s)
docstring: Return whether a string has open quotes.
  
      This simply counts whether the number of quote characters of either type in
      the string is odd.
  
      Returns
      -------
      If there is an open quote, the quote character is returned.  Else, return
      False.
docstring_summary: Return whether a string has open quotes.
docstring_tokens: Return whether a string has open quotes .
function: def has_open_quotes(s):
      """Return whether a string has open quotes.
  
      This simply counts whether the number of quote characters of either type in
      the string is odd.
  
      Returns
      -------
      If there is an open quote, the quote character is returned.  Else, return
      False.
      """
      # We check " first, then ', so complex cases with nested quotes will get
      # the " to take precedence.
      if s.count('"') % 2:
          return '"'
      elif s.count("'") % 2:
          return "'"
      else:
          return False
function_tokens: def has_open_quotes ( s ) : # We check " first, then ', so complex cases with nested quotes will get # the " to take precedence. if s . count ( '"' ) % 2 : return '"' elif s . count ( "'" ) % 2 : return "'" else : return False