def __call__(self, requested_season='<STR_LIT>'):
if requested_season.lower() == '<STR_LIT>' orrequested_season == '<STR_LIT>':<EOL><INDENT>requested_season = '<STR_LIT>'<EOL><DEDENT>index = <NUM_LIT:0><EOL>if not self._season:<EOL><INDENT>return self<EOL><DEDENT>for season in self._season:<EOL><INDENT>if season == requested_season:<EOL><INDENT>self._index = index<EOL>break<EOL><DEDENT>index += <NUM_LIT:1><EOL><DEDENT>return self<EOL>
Specify a different season to pull stats from.

A different season can be requested by passing the season string, such
as '2017' to the class instance.

Parameters
----------
requested_season : string (optional)
    A string of the requested season to query, such as '2017'. If left
    blank or 'Career' is passed, the career stats will be used for
    stats queries.

Returns
-------
Player class instance
    Returns the class instance with the updated stats being referenced.