def __init__(self, clock):
        """Install the hook, using the given Clock implementation to
        obtain the current time.
        """

        import sys

        self.clock = clock
        sys.modules['time'] = self
Install the hook, using the given Clock implementation to
        obtain the current time.
        
recipes/Python/502286_timehook_modify_Pythinterpreter/recipe-502286.py