From 4c710cf13b2977eeeb9f2b0506761adaf1feac53 Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Fri, 14 Feb 2020 09:34:44 -0600 Subject: [PATCH] unix port: add help(), help('modules') --- ports/unix/mpconfigport.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ports/unix/mpconfigport.h b/ports/unix/mpconfigport.h index e0f9d99957..3ac7ceaf21 100644 --- a/ports/unix/mpconfigport.h +++ b/ports/unix/mpconfigport.h @@ -323,3 +323,6 @@ void mp_unix_mark_exec(void); // For debugging purposes, make printf() available to any source file. #include #endif + +#define MICROPY_PY_BUILTINS_HELP (1) +#define MICROPY_PY_BUILTINS_HELP_MODULES (1)