Vladimir

22%
Flag icon
Weak references to an object do not increase its reference count. Therefore, a weak reference does not prevent the target object from being garbage collected. Weak references are useful in caching applications because you don’t want the cached objects to be kept alive just because they are referenced by the cache.
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview