Commit 92f379cc authored by Angus Gratton's avatar Angus Gratton Committed by Damien George

docs/library/gc: Clarify mem_alloc and mem_free only for Python heap.

As raised in discussions of the ESP32 memory management changes.
Signed-off-by: default avatarAngus Gratton <angus@redyak.com.au>
parent 26160e8e
......@@ -24,7 +24,7 @@ Functions
.. function:: mem_alloc()
Return the number of bytes of heap RAM that are allocated.
Return the number of bytes of heap RAM that are allocated by Python code.
.. admonition:: Difference to CPython
:class: attention
......@@ -33,8 +33,8 @@ Functions
.. function:: mem_free()
Return the number of bytes of available heap RAM, or -1 if this amount
is not known.
Return the number of bytes of heap RAM that is available for Python
code to allocate, or -1 if this amount is not known.
.. admonition:: Difference to CPython
:class: attention
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment