diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-04-07 00:16:51 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-04-07 00:17:11 +0300 |
commit | 282ca09f8e386f24e1e87acd3de93954b6a8035c (patch) | |
tree | efe282cde88a3c5299a54cdf5f0d9536c8a13404 /py/mpconfig.h | |
parent | e2d44e30c77360789d6e7c1211b222f93b92e0df (diff) | |
download | micropython-282ca09f8e386f24e1e87acd3de93954b6a8035c.tar.gz micropython-282ca09f8e386f24e1e87acd3de93954b6a8035c.zip |
py: Add MICROPY_PY_BUILTINS_REVERSED, disable for minimal ports.
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r-- | py/mpconfig.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index 4065c68665..824ef76fe1 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -469,6 +469,11 @@ typedef double mp_float_t; #define MICROPY_PY_BUILTINS_EXECFILE (0) #endif +// Whether to support reversed function(type) +#ifndef MICROPY_PY_BUILTINS_REVERSED +#define MICROPY_PY_BUILTINS_REVERSED (1) +#endif + // Whether to set __file__ for imported modules #ifndef MICROPY_PY___FILE__ #define MICROPY_PY___FILE__ (1) |