diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2020-07-21 16:08:41 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2020-07-21 16:08:41 -0700 |
| commit | ee019a96bae776661a7401e0f34cf633c908a42b (patch) | |
| tree | 06caed6eb5b8c6308cad2807c237b45f9677c0c8 | |
| parent | 693b3e7704e1c7a9bea25d3b43c3771123e8c214 (diff) | |
Updates based on review
| -rw-r--r-- | shared-bindings/memorymonitor/AllocationSize.c | 2 | ||||
| -rw-r--r-- | shared-bindings/memorymonitor/__init__.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/shared-bindings/memorymonitor/AllocationSize.c b/shared-bindings/memorymonitor/AllocationSize.c index 3e0e31336..501674441 100644 --- a/shared-bindings/memorymonitor/AllocationSize.c +++ b/shared-bindings/memorymonitor/AllocationSize.c @@ -38,7 +38,7 @@ //| def __init__(self): //| """Tracks the number of allocations in power of two buckets. //| -//| It will have 16 16bit buckets to track allocation counts. It is total allocations +//| It will have 16 16-bit buckets to track allocation counts. It is total allocations //| meaning frees are ignored. Reallocated memory is counted twice, at allocation and when //| reallocated with the larger size. //| diff --git a/shared-bindings/memorymonitor/__init__.c b/shared-bindings/memorymonitor/__init__.c index bfd5bf6d8..98f48f525 100644 --- a/shared-bindings/memorymonitor/__init__.c +++ b/shared-bindings/memorymonitor/__init__.c @@ -36,9 +36,9 @@ //| """Memory monitoring helpers""" //| -//| class AllocationException: +//| class AllocationError: //| def __init__(self, Exception: Any): -//| """Catch all exception for Bluetooth related errors.""" +//| """Catchall exception for allocation related errors.""" //| ... MP_DEFINE_MEMORYMONITOR_EXCEPTION(AllocationError, Exception) |
