def METHOD_NAME(self):
    if self.__class__ is UserDict:
        return UserDict(self.data.METHOD_NAME())
    import METHOD_NAME
    data = self.data
    try:
        self.data = {}
        c = METHOD_NAME.METHOD_NAME(self)
    finally:
        self.data = data
    c.update(self)
    return c