parameters: (self)
return_statement: return domains
docstring: Utility method to list all the domains in the jar.
docstring_summary: Utility method to list all the domains in the jar.
docstring_tokens: Utility method to list all the domains in the jar .
function: def list_domains(self):
          """Utility method to list all the domains in the jar."""
          domains = []
          for cookie in iter(self):
              if cookie.domain not in domains:
                  domains.append(cookie.domain)
          return domains
function_tokens: def list_domains ( self ) : domains = [ ] for cookie in iter ( self ) : if cookie . domain not in domains : domains . append ( cookie . domain ) return domains