@@ -27,7 +27,7 @@ Functions
2727 written which run under both CPython and MicroPython, by following the above
2828 pattern.
2929
30- .. function :: opt_level([level])
30+ .. CIRCUITPY-CHANGE : REMOVE .. function :: opt_level([level])
3131
3232 If *level * is given then this function sets the optimisation level for subsequent
3333 compilation of scripts, and returns ``None ``. Otherwise it returns the current
@@ -45,7 +45,7 @@ Functions
4545
4646 The default optimisation level is usually level 0.
4747
48- .. function :: alloc_emergency_exception_buf(size)
48+ .. CIRCUITPY-CHANGE : REMOVE .. function :: alloc_emergency_exception_buf(size)
4949
5050 Allocate *size * bytes of RAM for the emergency exception buffer (a good
5151 size is around 100 bytes). The buffer is used to create exceptions in cases
@@ -56,7 +56,7 @@ Functions
5656 (eg ``boot.py `` or ``main.py ``) and then the emergency exception buffer will be active
5757 for all the code following it.
5858
59- .. function :: mem_info([verbose])
59+ .. CIRCUITPY-CHANGE : REMOVE .. function :: mem_info([verbose])
6060
6161 Print information about currently used memory. If the *verbose * argument
6262 is given then extra information is printed.
@@ -65,7 +65,7 @@ Functions
6565 includes the amount of stack and heap used. In verbose mode it prints out
6666 the entire heap indicating which blocks are used and which are free.
6767
68- .. function :: qstr_info([verbose])
68+ .. CIRCUITPY-CHANGE : REMOVE .. function :: qstr_info([verbose])
6969
7070 Print information about currently interned strings. If the *verbose *
7171 argument is given then extra information is printed.
@@ -74,15 +74,15 @@ Functions
7474 includes the number of interned strings and the amount of RAM they use. In
7575 verbose mode it prints out the names of all RAM-interned strings.
7676
77- .. function :: stack_use()
77+ .. CIRCUITPY-CHANGE : REMOVE .. function :: stack_use()
7878
7979 Return an integer representing the current amount of stack that is being
8080 used. The absolute value of this is not particularly useful, rather it
8181 should be used to compute differences in stack usage at different points.
8282
83- .. function :: heap_lock()
84- .. function :: heap_unlock()
85- .. function :: heap_locked()
83+ .. CIRCUITPY-CHANGE : REMOVE .. function :: heap_lock()
84+ .. CIRCUITPY-CHANGE : REMOVE .. function :: heap_unlock()
85+ .. CIRCUITPY-CHANGE : REMOVE .. function :: heap_locked()
8686
8787 Lock or unlock the heap. When locked no memory allocation can occur and a
8888 `builtins.MemoryError ` will be raised if any heap allocation is attempted.
@@ -102,7 +102,7 @@ Functions
102102 Note: `heap_locked() ` is not enabled on most ports by default,
103103 requires ``MICROPY_PY_MICROPYTHON_HEAP_LOCKED ``.
104104
105- .. function :: kbd_intr(chr)
105+ .. CIRCUITPY-CHANGE : REMOVE .. function :: kbd_intr(chr)
106106
107107 Set the character that will raise a `KeyboardInterrupt ` exception. By
108108 default this is set to 3 during script execution, corresponding to Ctrl-C.
@@ -113,7 +113,7 @@ Functions
113113 incoming stream of characters that is usually used for the REPL, in case
114114 that stream is used for other purposes.
115115
116- .. function :: schedule(func, arg)
116+ .. CIRCUITPY-CHANGE : REMOVE .. function :: schedule(func, arg)
117117
118118 Schedule the function *func * to be executed "very soon". The function
119119 is passed the value *arg * as its single argument. "Very soon" means that
0 commit comments