Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
0dd0467a
Commit
0dd0467a
authored
Jan 28, 2014
by
Paul Sokolovsky
Browse files
Don't pre-import array module.
parent
11973b48
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/runtime.c
View file @
0dd0467a
...
...
@@ -130,7 +130,6 @@ void rt_init(void) {
mp_obj_t
m_array
=
mp_obj_new_module
(
MP_QSTR_array
);
rt_store_attr
(
m_array
,
MP_QSTR_array
,
(
mp_obj_t
)
&
array_type
);
rt_store_name
(
MP_QSTR_array
,
m_array
);
// built-in user functions
mp_map_add_qstr
(
&
map_builtins
,
MP_QSTR_abs
,
(
mp_obj_t
)
&
mp_builtin_abs_obj
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment