@sportsref.decorators.memoize<EOL><INDENT>def season(self):<DEDENT>
d = self.date()<EOL>if d.month >= <NUM_LIT:9>:<EOL><INDENT>return d.year + <NUM_LIT:1><EOL><DEDENT>else:<EOL><INDENT>return d.year<EOL><DEDENT>
Returns the year ID of the season in which this game took place.

:returns: An int representing the year of the season.