summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-04-04 16:02:23 +0100
committerDamien George <damien.p.george@gmail.com>2015-04-04 16:02:23 +0100
commit40fc01f4062792b4f28e62cf12e9fc6ea1c68496 (patch)
treecda79fa6794b3a873bccfc9f6aca6fee7566a2b2
parent2801e6fad8b8b3ecdd9c8bc58f9515ff66eca46c (diff)
downloadmicropython-40fc01f4062792b4f28e62cf12e9fc6ea1c68496.tar.gz
micropython-40fc01f4062792b4f28e62cf12e9fc6ea1c68496.zip
stmhal: Enable new str.splitlines() method.
-rw-r--r--stmhal/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stmhal/mpconfigport.h b/stmhal/mpconfigport.h
index e1d532d1e0..bfb3661eac 100644
--- a/stmhal/mpconfigport.h
+++ b/stmhal/mpconfigport.h
@@ -57,6 +57,7 @@
#define MICROPY_CAN_OVERRIDE_BUILTINS (1)
#define MICROPY_PY_FUNCTION_ATTRS (1)
#define MICROPY_PY_BUILTINS_STR_UNICODE (1)
+#define MICROPY_PY_BUILTINS_STR_SPLITLINES (1)
#define MICROPY_PY_BUILTINS_MEMORYVIEW (1)
#define MICROPY_PY_BUILTINS_FROZENSET (1)
#define MICROPY_PY_BUILTINS_EXECFILE (1)