def _instantiate_players(self, player_dict):
home_players = []<EOL>away_players = []<EOL>for player_id, details in player_dict.items():<EOL><INDENT>player = BoxscorePlayer(player_id,<EOL>details['<STR_LIT:name>'],<EOL>details['<STR_LIT:data>'])<EOL>if details['<STR_LIT>'] == HOME:<EOL><INDENT>home_players.append(player)<EOL><DEDENT>else:<EOL><INDENT>away_players.append(player)<EOL><DEDENT><DEDENT>return away_players, home_players<EOL>
Create a list of player instances for both the home and away teams.

For every player listed on the boxscores page, create an instance of
the BoxscorePlayer class for that player and add them to a list of
players for their respective team.

Parameters
----------
player_dict : dictionary
    A dictionary containing information for every player on the
    boxscores page. Each key is a string containing the player's ID
    and each value is a dictionary with the player's full name, a
    string representation of their HTML stats, and a string constant
    denoting which team they play for as the values.

Returns
-------
tuple
    Returns a ``tuple`` in the format (away_players, home_players)
    where each element is a list of player instances for the away and
    home teams, respectively.