mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/code] Remove __import__ from builtins
This commit is contained in:
@@ -360,7 +360,6 @@ void VariableBoxController::loadBuiltinNodes(const char * textToAutocomplete, in
|
||||
{"False", ScriptNode::Type::WithoutParentheses},
|
||||
{"None", ScriptNode::Type::WithoutParentheses},
|
||||
{"True", ScriptNode::Type::WithoutParentheses},
|
||||
{qstr_str(MP_QSTR___import__), ScriptNode::Type::WithParentheses},
|
||||
{qstr_str(MP_QSTR_abs), ScriptNode::Type::WithParentheses},
|
||||
{qstr_str(MP_QSTR_all), ScriptNode::Type::WithParentheses},
|
||||
{"and", ScriptNode::Type::WithoutParentheses},
|
||||
|
||||
@@ -42,7 +42,7 @@ private:
|
||||
constexpr static int k_maxScriptObjectNameSize = 100; //TODO LEA
|
||||
constexpr static int k_maxNumberOfDisplayedRows = 8; // (240 - titlebar - margin)/27 //TODO LEA
|
||||
constexpr static int k_maxScriptNodesCount = 32; //TODO LEA
|
||||
constexpr static int k_totalBuiltinNodesCount = 108;
|
||||
constexpr static int k_totalBuiltinNodesCount = 107;
|
||||
constexpr static uint8_t k_scriptOriginsCount = 3;
|
||||
constexpr static uint8_t k_subtitleCellType = NodeCellType; // We don't care as it is not selectable
|
||||
constexpr static uint8_t k_itemCellType = LeafCellType; // So that upper class NestedMenuController knows it's a leaf
|
||||
|
||||
Reference in New Issue
Block a user