docs: def _retrieve_all_teams(self, year):
          """
          Find and create Team instances for all teams in the given season.
  
          For a given season, parses the specified MLB stats table and finds all
          requested stats. Each team then has a Team instance created which
          includes all requested stats and a few identifiers, such as the team's
          name and abbreviation. All of the individual Team instances are added
          to a list.
  
          Note that this method is called directly once Teams is invoked and does
          not need to be called manually.
  
          Parameters
          ----------
          year : string
              The requested year to pull stats from.
          """
          team_data_dict = {}
  
          if not year:
              year = utils._find_year_for_season('mlb')
          doc = pq(STANDINGS_URL % year)
          div_prefix = 'div#all_expanded_standings_overall'
          standings = utils._get_stats_table(doc, div_prefix)
          doc = pq(TEAM_STATS_URL % year)
          div_prefix = 'div#all_teams_standard_%s'
          batting_stats = utils._get_stats_table(doc, div_prefix % 'batting')
          pitching_stats = utils._get_stats_table(doc, div_prefix % 'pitching')
          for stats_list in [standings, batting_stats, pitching_stats]:
              team_data_dict = self._add_stats_data(stats_list, team_data_dict)
  
          for team_data in team_data_dict.values():
              team = Team(team_data['data'], team_data['rank'], year)
              self._teams.append(team)