diff options
| author | stijn | 2019-01-03 15:19:42 +0100 |
|---|---|---|
| committer | Damien George | 2019-01-27 13:01:28 +1100 |
| commit | 42863830be2d19c7dcdf7ccf1fa66168b1bdc13a (patch) | |
| tree | 7a79ea7a839754ea15f6a98d0273632135cae29c /ports | |
| parent | 51577629b2e91be3ec911167e0bd0311694166db (diff) | |
py: Add optional support for 2-argument version of built-in next().
Configurable via MICROPY_PY_BUILTINS_NEXT2, disabled by default.
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/unix/mpconfigport_coverage.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/unix/mpconfigport_coverage.h b/ports/unix/mpconfigport_coverage.h index 9ab442ff9..2519482b0 100644 --- a/ports/unix/mpconfigport_coverage.h +++ b/ports/unix/mpconfigport_coverage.h @@ -39,6 +39,7 @@ #define MICROPY_MODULE_GETATTR (1) #define MICROPY_PY_DELATTR_SETATTR (1) #define MICROPY_PY_REVERSE_SPECIAL_METHODS (1) +#define MICROPY_PY_BUILTINS_NEXT2 (1) #define MICROPY_PY_BUILTINS_RANGE_BINOP (1) #define MICROPY_PY_BUILTINS_HELP (1) #define MICROPY_PY_BUILTINS_HELP_MODULES (1) |
