all: Reformat C and Python source code with tools/codeformat.py.
This is run with uncrustify 0.70.1, and black 19.10b0.
This commit is contained in:
@@ -33,18 +33,18 @@
|
||||
#if MICROPY_PY_BUILTINS_HELP
|
||||
|
||||
const char mp_help_default_text[] =
|
||||
"Welcome to MicroPython!\n"
|
||||
"\n"
|
||||
"For online docs please visit http://docs.micropython.org/\n"
|
||||
"\n"
|
||||
"Control commands:\n"
|
||||
" CTRL-A -- on a blank line, enter raw REPL mode\n"
|
||||
" CTRL-B -- on a blank line, enter normal REPL mode\n"
|
||||
" CTRL-C -- interrupt a running program\n"
|
||||
" CTRL-D -- on a blank line, exit or do a soft reset\n"
|
||||
" CTRL-E -- on a blank line, enter paste mode\n"
|
||||
"\n"
|
||||
"For further help on a specific object, type help(obj)\n"
|
||||
"Welcome to MicroPython!\n"
|
||||
"\n"
|
||||
"For online docs please visit http://docs.micropython.org/\n"
|
||||
"\n"
|
||||
"Control commands:\n"
|
||||
" CTRL-A -- on a blank line, enter raw REPL mode\n"
|
||||
" CTRL-B -- on a blank line, enter normal REPL mode\n"
|
||||
" CTRL-C -- interrupt a running program\n"
|
||||
" CTRL-D -- on a blank line, exit or do a soft reset\n"
|
||||
" CTRL-E -- on a blank line, enter paste mode\n"
|
||||
"\n"
|
||||
"For further help on a specific object, type help(obj)\n"
|
||||
;
|
||||
|
||||
STATIC void mp_help_print_info_about_object(mp_obj_t name_o, mp_obj_t value) {
|
||||
@@ -91,7 +91,7 @@ STATIC void mp_help_print_modules(void) {
|
||||
#endif
|
||||
|
||||
// sort the list so it's printed in alphabetical order
|
||||
mp_obj_list_sort(1, &list, (mp_map_t*)&mp_const_empty_map);
|
||||
mp_obj_list_sort(1, &list, (mp_map_t *)&mp_const_empty_map);
|
||||
|
||||
// print the list of modules in a column-first order
|
||||
#define NUM_COLUMNS (4)
|
||||
|
||||
Reference in New Issue
Block a user