Skip to content

Commit ae831ec

Browse files
committed
docs/library/micropython: Deconditionalize.
1 parent 61616e8 commit ae831ec

1 file changed

Lines changed: 18 additions & 20 deletions

File tree

docs/library/micropython.rst

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,6 @@
77
Functions
88
---------
99

10-
.. only:: port_pyboard or port_unix
11-
12-
.. function:: mem_info([verbose])
13-
14-
Print information about currently used memory. If the ``verbose`` argument
15-
is given then extra information is printed.
16-
17-
The information that is printed is implementation dependent, but currently
18-
includes the amount of stack and heap used. In verbose mode it prints out
19-
the entire heap indicating which blocks are used and which are free.
20-
21-
.. function:: qstr_info([verbose])
22-
23-
Print information about currently interned strings. If the ``verbose``
24-
argument is given then extra information is printed.
25-
26-
The information that is printed is implementation dependent, but currently
27-
includes the number of interned strings and the amount of RAM they use. In
28-
verbose mode it prints out the names of all RAM-interned strings.
29-
3010
.. function:: alloc_emergency_exception_buf(size)
3111

3212
Allocate ``size`` bytes of RAM for the emergency exception buffer (a good
@@ -37,3 +17,21 @@ Functions
3717
A good way to use this function is to put it at the start of your main script
3818
(eg boot.py or main.py) and then the emergency exception buffer will be active
3919
for all the code following it.
20+
21+
.. function:: mem_info([verbose])
22+
23+
Print information about currently used memory. If the ``verbose`` argument
24+
is given then extra information is printed.
25+
26+
The information that is printed is implementation dependent, but currently
27+
includes the amount of stack and heap used. In verbose mode it prints out
28+
the entire heap indicating which blocks are used and which are free.
29+
30+
.. function:: qstr_info([verbose])
31+
32+
Print information about currently interned strings. If the ``verbose``
33+
argument is given then extra information is printed.
34+
35+
The information that is printed is implementation dependent, but currently
36+
includes the number of interned strings and the amount of RAM they use. In
37+
verbose mode it prints out the names of all RAM-interned strings.

0 commit comments

Comments
 (0)