def memorized_timedelta(seconds):
    '''Create only one instance of each distinct timedelta'''
    try:
        return _timedelta_cache[seconds]
    except __HOLE__:
        delta = timedelta(seconds=seconds)
        _timedelta_cache[seconds] = delta
        return delta
dataset/ETHPy150Open Southpaw-TACTIC/TACTIC/3rd_party/site-packages/pytz/tzinfo.py/memorized_timedelta