1 parent b50659e commit 4cdddfeCopy full SHA for 4cdddfe
1 file changed
docs/library/gc.rst
@@ -24,6 +24,17 @@ Functions
24
25
Return the number of bytes of heap RAM that are allocated.
26
27
+ .. admonition:: Difference to CPython
28
+ :class: attention
29
+
30
+ This function is MicroPython extension.
31
32
.. function:: mem_free()
33
- Return the number of bytes of available heap RAM.
34
+ Return the number of bytes of available heap RAM, or -1 if this amount
35
+ is not known.
36
37
38
39
40
0 commit comments