@classmethod
    def remove_player(cls, session_id, player_id):
        try:
            sessions = cls.sessions
            session = sessions[session_id]
            with cls.lock:
                if session.has_player(player_id):

                    LOG.info('Player %s left session %s', player_id, session_id)

                    session.remove_player(player_id)

                    cls._clean_empty_sessions()

        except __HOLE__:
            pass
dataset/ETHPy150Open turbulenz/turbulenz_local/turbulenz_local/controllers/apiv1/multiplayer.py/MultiplayerController.remove_player