sportsref/nfl/teams.py
def srs(self, year):
        """Returns the SRS (Simple Rating System) for a team in a year.

        :year: The year for the season in question.
        :returns: A float of SRS.
        """
        try:
            srs_text = self._year_info_pq(year, 'SRS').text()
        except ValueError:
            return None
        m = re.match(r'SRS\s*?:\s*?(\S+)', srs_text)
        if m:
            return float(m.group(1))
        else:
            return None
def srs(self, year):
        """Returns the SRS (Simple Rating System) for a team in a year.

        :year: The year for the season in question.
        :returns: A float of SRS.
        """
        try:
            srs_text = self._year_info_pq(year, 'SRS').text()
        except ValueError:
            return None
        m = re.match(r'SRS\s*?:\s*?(\S+)', srs_text)
        if m:
            return float(m.group(1))
        else:
            return None
def srs ( self , year ) : try : srs_text = self . _year_info_pq ( year , 'SRS' ) . text ( ) except ValueError : return None m = re . match ( r'SRS\s*?:\s*?(\S+)' , srs_text ) if m : return float ( m . group ( 1 ) ) else : return None
Returns the SRS (Simple Rating System) for a team in a year.

        :year: The year for the season in question.
        :returns: A float of SRS.
Returns the SRS ( Simple Rating System ) for a team in a year .