From 0c8fcb9c498966bc330150a50ed31bf6874d79d2 Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 28 Apr 2014 09:56:31 +0100 Subject: [PATCH] py: Remove silly comment about interning keywords. Of course, keywords are turned into lexer tokens in the lexer, so will never need to be interned (unless you do something like x="def"). As it is now, the following on pyboard makes no new qstrs: import pyb pyb.info() --- py/qstrdefs.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/py/qstrdefs.h b/py/qstrdefs.h index 70105c5e22..6960bd06cb 100644 --- a/py/qstrdefs.h +++ b/py/qstrdefs.h @@ -2,8 +2,6 @@ // All the qstr definitions in this file are available as constants. // That is, they are in ROM and you can reference them simply as MP_QSTR_xxxx. -// TODO probably should add Python keywords, eg if, def, etc - Q(*) Q(__build_class__) Q(__class__)