Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
4e1ed825
Commit
4e1ed825
authored
Apr 05, 2014
by
Damien George
Browse files
Merge branch 'master' of github.com:micropython/micropython
parents
d0e82438
080d99b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/builtin.c
View file @
4e1ed825
...
...
@@ -411,15 +411,6 @@ STATIC mp_obj_t mp_builtin_getattr(uint n_args, const mp_obj_t *args) {
MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN
(
mp_builtin_getattr_obj
,
2
,
3
,
mp_builtin_getattr
);
STATIC
mp_obj_t
mp_builtin_globals
()
{
return
mp_globals_get
();
}
MP_DEFINE_CONST_FUN_OBJ_0
(
mp_builtin_globals_obj
,
mp_builtin_globals
);
STATIC
mp_obj_t
mp_builtin_locals
()
{
return
mp_locals_get
();
}
MP_DEFINE_CONST_FUN_OBJ_0
(
mp_builtin_locals_obj
,
mp_builtin_locals
);
// These two are defined in terms of MicroPython API functions right away
MP_DEFINE_CONST_FUN_OBJ_0
(
mp_builtin_globals_obj
,
mp_globals_get
);
MP_DEFINE_CONST_FUN_OBJ_0
(
mp_builtin_locals_obj
,
mp_locals_get
);
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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