summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-rw-r--r--Objects/accu.c2
-rw-r--r--Objects/typeobject.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Objects/accu.c b/Objects/accu.c
index 5bd2ee4..48fe02d 100644
--- a/Objects/accu.c
+++ b/Objects/accu.c
@@ -64,7 +64,7 @@ _PyAccu_Accumulate(_PyAccu *acc, PyObject *unicode)
* builds) of:
* - 8 bytes for the list slot
* - 56 bytes for the header of the unicode object
- * that is, 64 bytes. 100000 such objects waste more than 6MB
+ * that is, 64 bytes. 100000 such objects waste more than 6 MiB
* compared to a single concatenated string.
*/
if (nsmall < 100000)
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index e72460b..2a8118b 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -206,7 +206,7 @@ PyType_ClearCache(void)
method_cache_misses, (int) (100.0 * method_cache_misses / total));
fprintf(stderr, "-- Method cache collisions = %zd (%d%%)\n",
method_cache_collisions, (int) (100.0 * method_cache_collisions / total));
- fprintf(stderr, "-- Method cache size = %zd KB\n",
+ fprintf(stderr, "-- Method cache size = %zd KiB\n",
sizeof(method_cache) / 1024);
#endif