File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
shared-bindings/memorymonitor Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 38
38
//| def __init__(self):
39
39
//| """Tracks the number of allocations in power of two buckets.
40
40
//|
41
- //| It will have 16 16bit buckets to track allocation counts. It is total allocations
41
+ //| It will have 16 16-bit buckets to track allocation counts. It is total allocations
42
42
//| meaning frees are ignored. Reallocated memory is counted twice, at allocation and when
43
43
//| reallocated with the larger size.
44
44
//|
Original file line number Diff line number Diff line change 36
36
//| """Memory monitoring helpers"""
37
37
//|
38
38
39
- //| class AllocationException :
39
+ //| class AllocationError :
40
40
//| def __init__(self, Exception: Any):
41
- //| """Catch all exception for Bluetooth related errors."""
41
+ //| """Catchall exception for allocation related errors."""
42
42
//| ...
43
43
MP_DEFINE_MEMORYMONITOR_EXCEPTION (AllocationError , Exception )
44
44
You can’t perform that action at this time.
0 commit comments