def unschedule(self, callback):

        self.scheduled_calls = [
            c for c in self.scheduled_calls if c[0] != callback
            ]
        self.scheduled_interval_calls = [
            c for c in self.scheduled_interval_calls if c[0] != callback
            ]

        if self.is_running:
            pyglet.clock.unschedule(callback)
%reload_magics - reload the magics from the installed files
dataset/ETHPy150Open los-cocos/cocos/cocos/cocosnode.py/CocosNode.unschedule--crossover with--dataset/ETHPy150Open Calysto/metakernel/metakernel/magics/reload_magics_magic.py/ReloadMagicsMagic.line_reload_magics