M
Mr.Rech
Hi all,
I'm writing a class with some attributes which deepcopy can't cope
with, and I need some more clarifications. Sorry for my newbie
questions, but I'm a newbie indeed (or a sort of).
Suppose one of the attributes of my class is a dictionary whose values
are callable functions, such as:
...... pass
Now if I try:
My question is: anotherdict is really a copy of adict? If so, what is
the difference between its definition and the following:
??
Thanks in advance,
Andrea.
I'm writing a class with some attributes which deepcopy can't cope
with, and I need some more clarifications. Sorry for my newbie
questions, but I'm a newbie indeed (or a sort of).
Suppose one of the attributes of my class is a dictionary whose values
are callable functions, such as:
...... pass
Now if I try:
however:
My question is: anotherdict is really a copy of adict? If so, what is
the difference between its definition and the following:
??
Thanks in advance,
Andrea.