nodes: 0, module; 1, function_definition; 2, function_name:iter_issues; 3, parameters; 4, block; 5, identifier:self; 6, default_parameter; 7, default_parameter; 8, default_parameter; 9, default_parameter; 10, default_parameter; 11, default_parameter; 12, default_parameter; 13, default_parameter; 14, default_parameter; 15, default_parameter; 16, expression_statement; 17, expression_statement; 18, expression_statement; 19, if_statement; 20, expression_statement; 21, expression_statement; 22, return_statement; 23, identifier:milestone; 24, None; 25, identifier:state; 26, None; 27, identifier:assignee; 28, None; 29, identifier:mentioned; 30, None; 31, identifier:labels; 32, None; 33, identifier:sort; 34, None; 35, identifier:direction; 36, None; 37, identifier:since; 38, None; 39, identifier:number; 40, unary_operator; 41, identifier:etag; 42, None; 43, comment:"""Iterate over issues on this repo based upon parameters passed.
  
          .. versionchanged:: 0.9.0
  
              The ``state`` parameter now accepts 'all' in addition to 'open'
              and 'closed'.
  
          :param int milestone: (optional), 'none', or '*'
          :param str state: (optional), accepted values: ('all', 'open',
              'closed')
          :param str assignee: (optional), 'none', '*', or login name
          :param str mentioned: (optional), user's login name
          :param str labels: (optional), comma-separated list of labels, e.g.
              'bug,ui,@high'
          :param sort: (optional), accepted values:
              ('created', 'updated', 'comments', 'created')
          :param str direction: (optional), accepted values: ('asc', 'desc')
          :param since: (optional), Only issues after this date will
              be returned. This can be a `datetime` or an `ISO8601` formatted
              date string, e.g., 2012-05-20T23:10:27Z
          :type since: datetime or string
          :param int number: (optional), Number of issues to return.
              By default all issues are returned
          :param str etag: (optional), ETag from a previous request to the same
              endpoint
          :returns: generator of :class:`Issue <github3.issues.issue.Issue>`\ s
          """; 44, assignment; 45, assignment; 46, boolean_operator; 47, block; 48, call; 49, call; 50, call; 51, integer:1; 52, identifier:url; 53, call; 54, identifier:params; 55, dictionary; 56, comparison_operator:milestone in ('*', 'none'); 57, call; 58, expression_statement; 59, attribute; 60, argument_list; 61, attribute; 62, argument_list; 63, attribute; 64, argument_list; 65, attribute; 66, argument_list; 67, pair; 68, pair; 69, identifier:milestone; 70, tuple; 71, identifier:isinstance; 72, argument_list; 73, assignment; 74, identifier:self; 75, identifier:_remove_none; 76, identifier:params; 77, identifier:params; 78, identifier:update; 79, call; 80, identifier:self; 81, identifier:_iter; 82, call; 83, identifier:url; 84, identifier:Issue; 85, identifier:params; 86, identifier:etag; 87, identifier:self; 88, identifier:_build_url; 89, string; 90, keyword_argument; 91, string; 92, identifier:assignee; 93, string; 94, identifier:mentioned; 95, string; 96, string; 97, identifier:milestone; 98, identifier:int; 99, subscript; 100, identifier:milestone; 101, identifier:issue_params; 102, argument_list; 103, identifier:int; 104, argument_list; 105, string_content:issues; 106, identifier:base_url; 107, attribute; 108, string_content:assignee; 109, string_content:mentioned; 110, string_content:*; 111, string_content:none; 112, identifier:params; 113, string; 114, None; 115, identifier:state; 116, identifier:labels; 117, identifier:sort; 118, identifier:direction; 119, identifier:since; 120, identifier:number; 121, identifier:self; 122, identifier:_api; 123, string_content:milestone
code: def iter_issues(self,
                      milestone=None,
                      state=None,
                      assignee=None,
                      mentioned=None,
                      labels=None,
                      sort=None,
                      direction=None,
                      since=None,
                      number=-1,
                      etag=None):
          """Iterate over issues on this repo based upon parameters passed.
  
          .. versionchanged:: 0.9.0
  
              The ``state`` parameter now accepts 'all' in addition to 'open'
              and 'closed'.
  
          :param int milestone: (optional), 'none', or '*'
          :param str state: (optional), accepted values: ('all', 'open',
              'closed')
          :param str assignee: (optional), 'none', '*', or login name
          :param str mentioned: (optional), user's login name
          :param str labels: (optional), comma-separated list of labels, e.g.
              'bug,ui,@high'
          :param sort: (optional), accepted values:
              ('created', 'updated', 'comments', 'created')
          :param str direction: (optional), accepted values: ('asc', 'desc')
          :param since: (optional), Only issues after this date will
              be returned. This can be a `datetime` or an `ISO8601` formatted
              date string, e.g., 2012-05-20T23:10:27Z
          :type since: datetime or string
          :param int number: (optional), Number of issues to return.
              By default all issues are returned
          :param str etag: (optional), ETag from a previous request to the same
              endpoint
          :returns: generator of :class:`Issue <github3.issues.issue.Issue>`\ s
          """
          url = self._build_url('issues', base_url=self._api)
  
          params = {'assignee': assignee, 'mentioned': mentioned}
          if milestone in ('*', 'none') or isinstance(milestone, int):
              params['milestone'] = milestone
          self._remove_none(params)
          params.update(
              issue_params(None, state, labels, sort, direction,
                           since)
          )
  
          return self._iter(int(number), url, Issue, params, etag)