micropython-lib/weakref/weakref.py

8 wiersze
163 B
Python

#
# This is completely dummy implementation, which does not
# provide real weak references, and thus will hoard memory!
#
def proxy(obj, cb=None):
return obj