What is a weak reference in Python?
Correct answer
C. A reference that does not prevent garbage collection
6 views
C. A reference that does not prevent garbage collection
6 views
The weakref module lets caches avoid keeping objects alive.
Asked in: Python Interview Advanced
https://docs.python.org/3/library/index.htmlNot sure why the answer is C? Ask here and get an explanation.