def __init__(self, play, base_uri, auth):
        """
        Constructor of MatchResource class.

        :param play: Type of teams playing in matches.
        :type play: string
        :param base_uri: Base URI of API.
        :type base_uri: string
        :param auth: Authentication credential.
        :type auth: tuple
        """
        super(MatchResource, self).__init__(base_uri,auth)

        self.base_endpoint = (self.endpoint, play) % "%s/%s/matches"
        self.match = None
        self.resource = None
dataset/ETHPy150Open soccermetrics/soccermetrics-client-py/soccermetrics/rest/resources/match.py/MatchResource.__init__/swapped operands of `%`