mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
py: Rename MP_QSTR_NULL to MP_QSTRnull to avoid intern collisions.
Fixes #5140.
This commit is contained in:
committed by
Damien George
parent
b596638b9b
commit
7d58a197cf
@@ -70,7 +70,7 @@ class QStrType:
|
||||
self.qstr_id = 'MP_QSTR_' + self.qstr_esc
|
||||
|
||||
# Initialise global list of qstrs with static qstrs
|
||||
global_qstrs = [None] # MP_QSTR_NULL should never be referenced
|
||||
global_qstrs = [None] # MP_QSTRnull should never be referenced
|
||||
for n in qstrutil.static_qstr_list:
|
||||
global_qstrs.append(QStrType(n))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user