all: Fix spelling mistakes based on codespell check.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2023-03-08 14:10:02 +11:00
parent e160fe7bc6
commit b1229efbd1
191 changed files with 282 additions and 282 deletions

View File

@@ -539,7 +539,7 @@ STATIC mp_obj_t extra_coverage(void) {
{
mp_printf(&mp_plat_print, "# VM\n");
// call mp_execute_bytecode with invalide bytecode (should raise NotImplementedError)
// call mp_execute_bytecode with invalid bytecode (should raise NotImplementedError)
mp_module_context_t context;
mp_obj_fun_bc_t fun_bc;
fun_bc.context = &context;

View File

@@ -414,7 +414,7 @@ STATIC void pre_process_options(int argc, char **argv) {
#if MICROPY_PY_THREAD
mp_thread_is_realtime_enabled = true;
#endif
// main thread was already intialized before the option
// main thread was already initialized before the option
// was parsed, so we have to enable realtime here.
mp_thread_set_realtime();
#endif

View File

@@ -75,7 +75,7 @@ STATIC mp_obj_t mod_termios_tcsetattr(mp_obj_t fd_in, mp_obj_t when_in, mp_obj_t
// We don't export TCSANOW and friends to save on code space. Then
// common lazy sense says that passing 0 should be godo enough, and
// it is e.g. for glibc. But for other libc's it's not, so set just
// treat 0 as defauling to TCSANOW.
// treat 0 as defaulting to TCSANOW.
when = TCSANOW;
}

View File

@@ -41,7 +41,7 @@
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_DOUBLE)
#endif
// Enable arbritrary precision long-int by default.
// Enable arbitrary precision long-int by default.
#ifndef MICROPY_LONGINT_IMPL
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ)
#endif