summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-08-22 15:59:14 +1000
committerDamien George <damien.p.george@gmail.com>2019-08-22 15:59:14 +1000
commitbc9b656f35ff484a86f0b209881d8551814da800 (patch)
tree87815bae5617d80243a5e983e60d4b2c62a6fc4a
parent2eb88f5df74263cf4b458b135d16a100eb7a8bd2 (diff)
py/runtime: Remove obsolete comment about mp_parse_compile_execute.
mp_locals_get/set and mp_globals_get/set are now static-inline functions so this comment is no longer correct.
-rw-r--r--py/runtime.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/py/runtime.c b/py/runtime.c
index 04f9442b7..9e60eb626 100644
--- a/py/runtime.c
+++ b/py/runtime.c
@@ -1421,7 +1421,6 @@ void mp_import_all(mp_obj_t module) {
#if MICROPY_ENABLE_COMPILER
-// this is implemented in this file so it can optimise access to locals/globals
mp_obj_t mp_parse_compile_execute(mp_lexer_t *lex, mp_parse_input_kind_t parse_input_kind, mp_obj_dict_t *globals, mp_obj_dict_t *locals) {
// save context
mp_obj_dict_t *volatile old_globals = mp_globals_get();