def time_difference(self, track_point):
        if not self.time or not track_point or not track_point.time:
            return None

        time_1 = self.time
        time_2 = track_point.time

        if time_1 == time_2:
            return 0

        if time_1 > time_2:
            delta = time_1 - time_2
        else:
            delta = time_2 - time_1

        return mod_utils.total_seconds(delta)
Replace the specified StackedObjectProxy's methods with their
dataset/ETHPy150Open tkrajina/gpxpy/gpxpy/gpx.py/GPXTrackPoint.time_difference--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Paste-2.0.1/paste/registry.py/StackedObjectRestorer.enable_restoration