def bcp_mode_start(self, name=None, priority=0, **kwargs):
        if not name:
            return
            #todo raise error

        if name == 'game':
            self._game_start()

        if name in self.modes:
            self.modes[name].start(priority=priority)
Returns current line number within a string, counting newlines as line separators.
dataset/ETHPy150Open missionpinball/mpf/mpf/media_controller/core/media_controller.py/MediaController.bcp_mode_start--crossover with--dataset/ETHPy150Open pypa/pip/pip/_vendor/pyparsing.py/lineno