function calls ...

Дамјан Г. пенгуиниста at маил?=.=?iso-8859-5?Q?нет?=.=?iso-8859-5?Q?мк
Tue Aug 20 20:57:06 CEST 2002

> Now I have a special problem: I have a dictionary, and I have a function.
> And I want to call the function with the dictionary as parameter, but I
> want a *COPY* of the dictionary be transferred, cause the function makes
> changes to this one which I don't like to keep but are nonetheless
> neccessary.

> can anyone help please?

acopy = dict(orig)

acopy is a shalow copy of orig.


            It is easier to fix Unix than to live with NT.

More information about the Python-list mailing list