summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2020-02-14 09:34:44 -0600
committerJeff Epler <jepler@unpythonic.net>2020-02-27 08:31:01 -0600
commit4c710cf13b2977eeeb9f2b0506761adaf1feac53 (patch)
tree15e680392c4f63203888dffad22999953936e1fe
parent50438b51aa0af3f6453f334d3868f0a87eb94a89 (diff)
unix port: add help(), help('modules')
-rw-r--r--ports/unix/mpconfigport.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/unix/mpconfigport.h b/ports/unix/mpconfigport.h
index e0f9d9995..3ac7ceaf2 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 <stdio.h>
#endif
+
+#define MICROPY_PY_BUILTINS_HELP (1)
+#define MICROPY_PY_BUILTINS_HELP_MODULES (1)