On Mon, 08 Dec 2008 08:18:27 -0700, Joe Strout wrote: > On Dec 7, 2008, at 10:26 PM, Group wrote: > >> Now, I want to write a Red-Black Tree, and a List structure. In C/C+ +, >> I can >> use pointers to refer to children notes (or next notes). But, in >> Python, how >> can I do it? Except the sequence, I know not any way. > > Any variable in Python is a reference
Except that they don't behave like references in languages that have explicit reference parameters. Joe, please stop muddying the water. We've been over this to death. Did you not see the thread asking how to create reference parameters in Python? Subject "var or inout parm?". I noticed you were conspicuous by your absence in that little discussion. -- Steven -- http://mail.python.org/mailman/listinfo/python-list