James Stroud wrote:
> Stef Mientki wrote:
>> If I create a large array of data or class,
>> how do I destroy it (when not needed anymore) ?
>>
>> Assign it to an empty list ?
>>
>> thanks,
>> Stef Mientki
> 
> It will be gc'd when you leave the scope or you can call del() to 
> explicitly get rid of the object if its existence bothers you.
> 
> James
thanks James,
indeed, large objects, are sometimes bothering me,
and assigning it to an empty list requires comment ;-)
cheers,
Stef
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to