Deleting class objects after using it

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • psbasha
    Contributor
    • Feb 2007
    • 440

    #1

    Deleting class objects after using it

    Hi,

    I think ,Python will automatically deletes the Class objects which are created.So we no need to do deletion of objects forcibly.

    Thanks in advacne
    PSB
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    Originally posted by psbasha
    Hi,

    I think ,Python will automatically deletes the Class objects which are created.So we no need to do deletion of objects forcibly.

    Thanks in advacne
    PSB
    As discussed, once the internal reference count to any object or variable reaches zero, that object will be marked for Garbage Collection.

    Comment

    Working...