We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50ed36f commit afb5e25Copy full SHA for afb5e25
python-stdlib/weakref/manifest.py
@@ -0,0 +1,3 @@
1
+metadata(version="0.0.1")
2
+
3
+module("weakref.py")
python-stdlib/weakref/weakref.py
@@ -0,0 +1,11 @@
+"""
+# weakref
+https://docs.python.org/3/library/weakref.html
4
5
+Micropython does not have support for weakref in the VM, so currently this is a simple stub
6
+module that directly assigns the object reference to simplify porting of other libraries.
7
8
9
10
+def ref(obj):
11
+ return lambda: obj
0 commit comments