Ad
  • Custom User Avatar

    Interesting, i though python always passed parameters by reference! thanks!

  • Custom User Avatar

    Yeah i think you are right, as python always passes parameters by reference.. Hmmm on this case it would not matter as they not specify, but generally you would want to make a copy of the pointer on another object and move that other object and not the original one.. i may edit my solution now to include that xD thanks!! :)