def _pickle_clean(dirtyAddr):
    "Cleans up an ActorAddress of any special, unpickleable elements so it can be pickled."
    cd = dirtyAddr.__dict__.copy()
    for rmv in [ 'eqOverride', '__getstate__', '_pickle_clean']:
        if rmv in cd:
            del cd[rmv]
    return cd
dataset/ETHPy150Open godaddy/Thespian/thespian/system/addressManager.py/_pickle_clean/original