Skip to content

Commit aa71e8f

Browse files
committed
py/mpconfig: Move MICROPY_MODULE___ALL__ option to other module options.
Signed-off-by: Damien George <damien@micropython.org>
1 parent a390178 commit aa71e8f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

py/mpconfig.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -990,6 +990,11 @@ typedef time_t mp_timestamp_t;
990990
#define MICROPY_STREAMS_POSIX_API (0)
991991
#endif
992992

993+
// Whether to process __all__ when importing all public symbols from a module.
994+
#ifndef MICROPY_MODULE___ALL__
995+
#define MICROPY_MODULE___ALL__ (MICROPY_CONFIG_ROM_LEVEL_AT_LEAST_BASIC_FEATURES)
996+
#endif
997+
993998
// Whether to set __file__ on imported modules.
994999
#ifndef MICROPY_MODULE___FILE__
9951000
#define MICROPY_MODULE___FILE__ (MICROPY_CONFIG_ROM_LEVEL_AT_LEAST_CORE_FEATURES)
@@ -1427,11 +1432,6 @@ typedef time_t mp_timestamp_t;
14271432
#define MICROPY_PY_BUILTINS_HELP_MODULES (MICROPY_CONFIG_ROM_LEVEL_AT_LEAST_EXTRA_FEATURES)
14281433
#endif
14291434

1430-
// Whether to process __all__ when importing all public symbols from module
1431-
#ifndef MICROPY_MODULE___ALL__
1432-
#define MICROPY_MODULE___ALL__ (MICROPY_CONFIG_ROM_LEVEL_AT_LEAST_BASIC_FEATURES)
1433-
#endif
1434-
14351435
// Whether to provide mem-info related functions in micropython module
14361436
#ifndef MICROPY_PY_MICROPYTHON_MEM_INFO
14371437
#define MICROPY_PY_MICROPYTHON_MEM_INFO (MICROPY_CONFIG_ROM_LEVEL_AT_LEAST_EXTRA_FEATURES)

0 commit comments

Comments
 (0)