View Single Post
Old Jun 30th, 2005, 5:53 PM   #1
cypherkronis
Newbie
 
Join Date: Jun 2005
Posts: 12
Rep Power: 0 cypherkronis is on a distinguished road
references passed through parameters, do they copy the object or reference the orig?

i was wondering, if i have a constructor for an object such as

def __init__(self, ObjectB)

when i pass ObjectB to the new object instance, is it copied or referenced. because what i want is for this new object to have direct access to ObjectB. am i accomplishing this? cuz it seems not. its sort of wierd. thanks.
cypherkronis is offline   Reply With Quote