nodes: 0, module; 1, function_definition; 2, function_name:iter_user_repos; 3, parameters; 4, block; 5, identifier:login; 6, default_parameter; 7, default_parameter; 8, default_parameter; 9, default_parameter; 10, default_parameter; 11, expression_statement; 12, if_statement; 13, return_statement; 14, identifier:type; 15, None; 16, identifier:sort; 17, None; 18, identifier:direction; 19, None; 20, identifier:number; 21, unary_operator; 22, identifier:etag; 23, None; 24, comment:"""List public repositories for the specified ``login``.
  
      .. versionadded:: 0.6
  
      .. note:: This replaces github3.iter_repos
  
      :param str login: (required)
      :param str type: (optional), accepted values:
          ('all', 'owner', 'member')
          API default: 'all'
      :param str sort: (optional), accepted values:
          ('created', 'updated', 'pushed', 'full_name')
          API default: 'created'
      :param str direction: (optional), accepted values:
          ('asc', 'desc'), API default: 'asc' when using 'full_name',
          'desc' otherwise
      :param int number: (optional), number of repositories to return.
          Default: -1 returns all repositories
      :param str etag: (optional), ETag from a previous request to the same
          endpoint
      :returns: generator of :class:`Repository <github3.repos.Repository>`
          objects
  
      """; 25, identifier:login; 26, block; 27, call; 28, integer:1; 29, return_statement; 30, identifier:iter; 31, argument_list; 32, call; 33, list; 34, attribute; 35, argument_list; 36, identifier:gh; 37, identifier:iter_user_repos; 38, identifier:login; 39, identifier:type; 40, identifier:sort; 41, identifier:direction; 42, identifier:number; 43, identifier:etag
code: def iter_user_repos(login, type=None, sort=None, direction=None, number=-1,
                      etag=None):
      """List public repositories for the specified ``login``.
  
      .. versionadded:: 0.6
  
      .. note:: This replaces github3.iter_repos
  
      :param str login: (required)
      :param str type: (optional), accepted values:
          ('all', 'owner', 'member')
          API default: 'all'
      :param str sort: (optional), accepted values:
          ('created', 'updated', 'pushed', 'full_name')
          API default: 'created'
      :param str direction: (optional), accepted values:
          ('asc', 'desc'), API default: 'asc' when using 'full_name',
          'desc' otherwise
      :param int number: (optional), number of repositories to return.
          Default: -1 returns all repositories
      :param str etag: (optional), ETag from a previous request to the same
          endpoint
      :returns: generator of :class:`Repository <github3.repos.Repository>`
          objects
  
      """
      if login:
          return gh.iter_user_repos(login, type, sort, direction, number, etag)
      return iter([])