From: Bruce S. <Bru...@nc...> - 2009-09-16 14:57:45
|
Thanks for reporting this mismatch. It seems like it really should be a list rather than a tuple, but if that's not feasible for some reason the documentation should be corrected. Bruce Sherwood Guenter Schneider wrote: > The online documentation at > http://vpython.org/contents/docs/visual/lights.html > says scene.lights is a list, however > > >>> from visual import * > >>> scene = display() > >>> print isinstance(scene.lights,list) > False > >>> print isinstance(scene.lights,tuple) > True > >>> > > Guenter |