This should be so easy, but i'm stuck... i want to have two local copies of an incoming object (in this case, a ConfigParser), to modify one of them and later compare them. The problem is that this code give me two names to the SAME object!!!
[code=Python]class updater():
def __init__(self, config):
self.__config = config
self.__oldconf = config [/code]
How can i have an independent copy of the object?
:oops:
[code=Python]class updater():
def __init__(self, config):
self.__config = config
self.__oldconf = config [/code]
How can i have an independent copy of the object?
:oops:
Comment