diff options
Diffstat (limited to 'py')
-rw-r--r-- | py/gc.c | 2 | ||||
-rw-r--r-- | py/mpconfig.h | 2 | ||||
-rw-r--r-- | py/objexcept.c | 2 | ||||
-rw-r--r-- | py/objstr.c | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -1245,7 +1245,7 @@ void gc_dump_alloc_table(const mp_print_t *print) { break; } */ - /* this prints the uPy object type of the head block */ + /* this prints the MicroPython object type of the head block */ case AT_HEAD: { void **ptr = (void **)(area->gc_pool_start + bl * BYTES_PER_BLOCK); if (*ptr == &mp_type_tuple) { diff --git a/py/mpconfig.h b/py/mpconfig.h index c25401b8c..6da872c56 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -2099,7 +2099,7 @@ typedef time_t mp_timestamp_t; /*****************************************************************************/ /* Miscellaneous settings */ -// All uPy objects in ROM must be aligned on at least a 4 byte boundary +// All MicroPython objects in ROM must be aligned on at least a 4 byte boundary // so that the small-int/qstr/pointer distinction can be made. For machines // that don't do this (eg 16-bit CPU), define the following macro to something // like __attribute__((aligned(4))). diff --git a/py/objexcept.c b/py/objexcept.c index 5bf4e672b..df91c32b1 100644 --- a/py/objexcept.c +++ b/py/objexcept.c @@ -272,7 +272,7 @@ void mp_obj_exception_attr(mp_obj_t self_in, qstr attr, mp_obj_t *dest) { // We allow 'exc.__traceback__ = None' assignment as low-level // optimization of pre-allocating exception instance and raising // it repeatedly - this avoids memory allocation during raise. - // However, uPy will keep adding traceback entries to such + // However, MicroPython will keep adding traceback entries to such // exception instance, so before throwing it, traceback should // be cleared like above. self->traceback_len = 0; diff --git a/py/objstr.c b/py/objstr.c index c81fc682f..df543041a 100644 --- a/py/objstr.c +++ b/py/objstr.c @@ -1304,7 +1304,7 @@ static vstr_t mp_obj_str_format_helper(const char *str, const char *top, int *ar } case '\0': // No explicit format type implies 'd' - case 'n': // I don't think we support locales in uPy so use 'd' + case 'n': // I don't think we support locales in MicroPython so use 'd' case 'd': mp_print_mp_int(&print, arg, 10, 'a', flags, fill, width, 0); continue; |