function calls ...
Axel Bock
news-and-lists at the-me.de
Tue Aug 20 14:32:32 EDT 2002
More information about the Python-list mailing list
Tue Aug 20 14:32:32 EDT 2002
- Previous message (by thread): function calls ...
- Next message (by thread): function calls ...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, as you all might know :-) function calls are always done "by reference", like the C programmers would say. 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. With lists it works like this: callme(list[:]) but with dictionaries ... ? can anyone help please? Thanks and greetings, axel.
- Previous message (by thread): function calls ...
- Next message (by thread): function calls ...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list