unix/variants: Enable help and help("modules") on standard and dev.

See related #1354, #2906, #3436.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2021-07-13 16:18:15 +10:00
parent 0ee256b8b1
commit 6430cd3e02
2 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,8 @@
#define MICROPY_VFS (1) #define MICROPY_VFS (1)
#define MICROPY_VFS_POSIX (1) #define MICROPY_VFS_POSIX (1)
#define MICROPY_PY_BUILTINS_HELP (1)
#define MICROPY_PY_BUILTINS_HELP_MODULES (1)
#define MICROPY_PY_SYS_SETTRACE (1) #define MICROPY_PY_SYS_SETTRACE (1)
#define MICROPY_PY_UOS_VFS (1) #define MICROPY_PY_UOS_VFS (1)
#define MICROPY_PY_URANDOM_EXTRA_FUNCS (1) #define MICROPY_PY_URANDOM_EXTRA_FUNCS (1)

View File

@ -24,3 +24,5 @@
* THE SOFTWARE. * THE SOFTWARE.
*/ */
#define MICROPY_PY_BUILTINS_HELP (1)
#define MICROPY_PY_BUILTINS_HELP_MODULES (1)