Thread: Object.remove()
View Single Post
  #3  
Old 05-23-2005, 11:17 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

When you call del ball0503 you are deleting the reference to the variable ball0503. However, the list still contains a reference to the ball. To delete the list you would need to do the following:
Code:
del ballBasket[:]
Reply With Quote