2010/9/22 Mariusz Kruk <[email protected]>

>
> Don't append lalista. Append the contents of loop itself.
> Python passes arguments by value, so ListBox(lalista) creates a listbox
> with
> it's own copy of contents of lailista.


Sorry, I don't understand you which object I should append to.
By the other hand, Python always passes arguments by reference. If some
class is copying an argument, that's completely other thing.

-- 
Juanjo Conti
blog: http://www.juanjoconti.com.ar
_______________________________________________
Urwid mailing list
[email protected]
http://lists.excess.org/mailman/listinfo/urwid

Reply via email to