sportsref/nfl/players.py
def _simple_year_award(self, award_id):
        """Template for simple award functions that simply list years, such as
        pro bowls and first-team all pro.

        :award_id: The div ID that is appended to "leaderboard_" in selecting
        the table's div.
        :returns: List of years for the award.
        """
        doc = self.get_doc()
        table = doc('div#leaderboard_{} table'.format(award_id))
        return list(map(int, sportsref.utils.parse_awards_table(table)))
def _simple_year_award(self, award_id):
        doc = self.get_doc()
        table = doc('div#leaderboard_{} table'.format(award_id))
        return list(map(int, sportsref.utils.parse_awards_table(table)))
def _simple_year_award ( self , award_id ) : doc = self . get_doc ( ) table = doc ( 'div#leaderboard_{} table' . format ( award_id ) ) return list ( map ( int , sportsref . utils . parse_awards_table ( table ) ) )
Template for simple award functions that simply list years, such as
        pro bowls and first-team all pro.

        :award_id: The div ID that is appended to "leaderboard_" in selecting
        the table's div.
        :returns: List of years for the award.
Template for simple award functions that simply list years such as pro bowls and first - team all pro .