aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorstijn2019-01-03 15:19:42 +0100
committerDamien George2019-01-27 13:01:28 +1100
commit42863830be2d19c7dcdf7ccf1fa66168b1bdc13a (patch)
tree7a79ea7a839754ea15f6a98d0273632135cae29c /ports
parent51577629b2e91be3ec911167e0bd0311694166db (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.h1
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)