nodes: 0, module; 1, function_definition; 2, function_name:iter_starred; 3, parameters; 4, block; 5, identifier:self; 6, default_parameter; 7, default_parameter; 8, default_parameter; 9, default_parameter; 10, expression_statement; 11, import_from_statement; 12, expression_statement; 13, expression_statement; 14, expression_statement; 15, return_statement; 16, identifier:sort; 17, None; 18, identifier:direction; 19, None; 20, identifier:number; 21, unary_operator; 22, identifier:etag; 23, None; 24, comment:"""Iterate over repositories starred by this user.
  
          .. versionchanged:: 0.5
             Added sort and direction parameters (optional) as per the change in
             GitHub's API.
  
          :param int number: (optional), number of starred repos to return.
              Default: -1, returns all available repos
          :param str sort: (optional), either 'created' (when the star was
              created) or 'updated' (when the repository was last pushed to)
          :param str direction: (optional), either 'asc' or 'desc'. Default:
              'desc'
          :param str etag: (optional), ETag from a previous request to the same
              endpoint
          :returns: generator of :class:`Repository <github3.repos.Repository>`
          """; 25, relative_import; 26, dotted_name; 27, assignment; 28, call; 29, assignment; 30, call; 31, integer:1; 32, import_prefix; 33, dotted_name; 34, identifier:Repository; 35, identifier:params; 36, dictionary; 37, attribute; 38, argument_list; 39, identifier:url; 40, call; 41, attribute; 42, argument_list; 43, identifier:repos; 44, pair; 45, pair; 46, identifier:self; 47, identifier:_remove_none; 48, identifier:params; 49, attribute; 50, argument_list; 51, identifier:self; 52, identifier:_iter; 53, call; 54, identifier:url; 55, identifier:Repository; 56, identifier:params; 57, identifier:etag; 58, string; 59, identifier:sort; 60, string; 61, identifier:direction; 62, attribute; 63, identifier:expand; 64, keyword_argument; 65, keyword_argument; 66, identifier:int; 67, argument_list; 68, string_content:sort; 69, string_content:direction; 70, identifier:self; 71, identifier:starred_urlt; 72, identifier:owner; 73, None; 74, identifier:repo; 75, None; 76, identifier:number
code: def iter_starred(self, sort=None, direction=None, number=-1, etag=None):
          """Iterate over repositories starred by this user.
  
          .. versionchanged:: 0.5
             Added sort and direction parameters (optional) as per the change in
             GitHub's API.
  
          :param int number: (optional), number of starred repos to return.
              Default: -1, returns all available repos
          :param str sort: (optional), either 'created' (when the star was
              created) or 'updated' (when the repository was last pushed to)
          :param str direction: (optional), either 'asc' or 'desc'. Default:
              'desc'
          :param str etag: (optional), ETag from a previous request to the same
              endpoint
          :returns: generator of :class:`Repository <github3.repos.Repository>`
          """
          from .repos import Repository
  
          params = {'sort': sort, 'direction': direction}
          self._remove_none(params)
          url = self.starred_urlt.expand(owner=None, repo=None)
          return self._iter(int(number), url, Repository, params, etag)