code: def subdomains(self, value=None):
          
          if value is not None:
              return URL._mutate(self, host='.'.join(value))
          return self.host().split('.')
docs: Returns a list of subdomains or set the subdomains and returns a
          new :class:`URL` instance.
  
          :param list value: a list of subdomains