Garbage collection

Page content
  • When the number of references to an object drops to zero, python will eventually notice that it is inaccessible and reclaim the allocated memory so we can use it for something else.