def __deepcopy__(self, memo=None, _nil=[]): pickledself = pickle.dumps(self) return pickle.loads(pickledself)
def __copy__(self): pickledself = pickle.dumps(self) return pickle.loads(pickledself)