summaryrefslogtreecommitdiff
path: root/shared-bindings/memorymonitor/AllocationAlarm.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared-bindings/memorymonitor/AllocationAlarm.c')
-rw-r--r--shared-bindings/memorymonitor/AllocationAlarm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-bindings/memorymonitor/AllocationAlarm.c b/shared-bindings/memorymonitor/AllocationAlarm.c
index 836bf7833..71a156f32 100644
--- a/shared-bindings/memorymonitor/AllocationAlarm.c
+++ b/shared-bindings/memorymonitor/AllocationAlarm.c
@@ -76,6 +76,8 @@ STATIC mp_obj_t memorymonitor_allocationalarm_make_new(const mp_obj_type_t *type
return MP_OBJ_FROM_PTR(self);
}
+// TODO: Add .countdown(count) to skip allocations and alarm on something after the first.
+
//| def __enter__(self) -> memorymonitor.AllocationAlarm:
//| """Enables the alarm."""
//| ...