sportsref/nba/boxscores.py
def season(self):
        """
        Returns the year ID of the season in which this game took place.

        :returns: An int representing the year of the season.
        """
        d = self.date()
        if d.month >= 9:
            return d.year + 1
        else:
            return d.year
def season(self):
        d = self.date()
        if d.month >= 9:
            return d.year + 1
        else:
            return d.year
def season ( self ) : d = self . date ( ) if d . month >= 9 : return d . year + 1 else : return d . year
Returns the year ID of the season in which this game took place.

        :returns: An int representing the year of the season.
Returns the year ID of the season in which this game took place .