Added type hints to ustack
This commit is contained in:
parent
657c651e0e
commit
9911b64fa1
@ -60,7 +60,7 @@ STATIC mp_obj_t stack_size(void) {
|
|||||||
}
|
}
|
||||||
STATIC MP_DEFINE_CONST_FUN_OBJ_0(stack_size_obj, stack_size);
|
STATIC MP_DEFINE_CONST_FUN_OBJ_0(stack_size_obj, stack_size);
|
||||||
|
|
||||||
//| def stack_usage() -> Any:
|
//| def stack_usage() -> int:
|
||||||
//| """Return how much stack is currently in use.
|
//| """Return how much stack is currently in use.
|
||||||
//| Same as micropython.stack_use(); duplicated here for convenience."""
|
//| Same as micropython.stack_use(); duplicated here for convenience."""
|
||||||
//| ...
|
//| ...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user