8000 py: Remove silly comment about interning keywords. · lurch/micropython@0c8fcb9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0c8fcb9

Browse files
committed
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()
1 parent a224067 commit 0c8fcb9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

py/qstrdefs.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// All the qstr definitions in this file are available as constants.
33
// That is, they are in ROM and you can reference them simply as MP_QSTR_xxxx.
44

5-
// TODO probably should add Python keywords, eg if, def, etc
6 4B5D -
75
Q(*)
86
Q(__build_class__)
97
Q(__class__)

0 commit comments

Comments
 (0)
0