a couple of things I don't understand wrt lists
Chris Angelico
rosuav at gmail.com
Wed Apr 17 14:42:23 EDT 2013
On Thu, Apr 18, 2013 at 4:36 AM, Ned Batchelder <ned at nedbatchelder.com> wrote:
>
> On 4/17/2013 12:10 PM, 88888 Dihedral wrote:
>> Well, a new object is returned and can be used.
>> Then who is going to clean up the object when required?
>
>
> This is a key thing to understand about Python: memory is managed
> automatically, no one has to clean up the object. Once there are no names
> referring to the object, it will be cleaned up automatically.
Dihedral is a bot. An amusing one, at times, but not someone you need
overly concern yourself with. :)
ChrisA
More information about the Python-list
mailing list