def stop(self):

        # XXX stop in reverse order that we started them!! (like push
        # pop), very important because e.g. wm_touch and WM_PEN both
        # store old window proc and the restore, if order is messed big
        # problem happens, crashing badly without error
        for provider in reversed(self.input_providers[:]):
            provider.stop()
            if provider in self.input_providers_autoremove:
                self.input_providers_autoremove.remove(provider)
                self.input_providers.remove(provider)

        # ensure any restart will not break anything later.
        self.input_events = []

        self.status = 'stopped'
        self.dispatch('on_stop')
CamelCase a string so that it is more readable as a variable name.
dataset/ETHPy150Open kivy/kivy/kivy/base.py/EventLoopBase.stop--crossover with--dataset/ETHPy150Open google/apis-client-generator/src/googleapis/codegen/utilities/__init__.py/CamelCase