Python Professional — Hard
Key points
- gc.collect() is used to detect and collect cyclic garbage
- Mutual references between objects create reference cycles
- Python's GC system handles cyclic garbage collection
- The positive integer output indicates successful collection
Ready to go further?
Related questions
