Skip to content

Commit ee019a9

Browse files
committed
Updates based on review
1 parent 693b3e7 commit ee019a9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

shared-bindings/memorymonitor/AllocationSize.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
//| def __init__(self):
3939
//| """Tracks the number of allocations in power of two buckets.
4040
//|
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
4242
//| meaning frees are ignored. Reallocated memory is counted twice, at allocation and when
4343
//| reallocated with the larger size.
4444
//|

shared-bindings/memorymonitor/__init__.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636
//| """Memory monitoring helpers"""
3737
//|
3838

39-
//| class AllocationException:
39+
//| class AllocationError:
4040
//| def __init__(self, Exception: Any):
41-
//| """Catch all exception for Bluetooth related errors."""
41+
//| """Catchall exception for allocation related errors."""
4242
//| ...
4343
MP_DEFINE_MEMORYMONITOR_EXCEPTION(AllocationError, Exception)
4444

0 commit comments

Comments
 (0)