Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
micropython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
card10
micropython
Commits
ddb9dba2
Commit
ddb9dba2
authored
8 years ago
by
Paul Sokolovsky
Browse files
Options
Downloads
Patches
Plain Diff
py/modio: Rename module name to "uio" for consistency with other modules.
parent
70ff7350
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
py/modio.c
+2
-2
2 additions, 2 deletions
py/modio.c
py/objmodule.c
+1
-1
1 addition, 1 deletion
py/objmodule.c
with
3 additions
and
3 deletions
py/modio.c
+
2
−
2
View file @
ddb9dba2
...
...
@@ -124,7 +124,7 @@ STATIC const mp_obj_type_t bufwriter_type = {
#endif // MICROPY_PY_IO_BUFFEREDWRITER
STATIC
const
mp_rom_map_elem_t
mp_module_io_globals_table
[]
=
{
{
MP_ROM_QSTR
(
MP_QSTR___name__
),
MP_ROM_QSTR
(
MP_QSTR_
_
io
)
},
{
MP_ROM_QSTR
(
MP_QSTR___name__
),
MP_ROM_QSTR
(
MP_QSTR_
u
io
)
},
// Note: mp_builtin_open_obj should be defined by port, it's not
// part of the core.
{
MP_ROM_QSTR
(
MP_QSTR_open
),
MP_ROM_PTR
(
&
mp_builtin_open_obj
)
},
...
...
@@ -147,7 +147,7 @@ STATIC MP_DEFINE_CONST_DICT(mp_module_io_globals, mp_module_io_globals_table);
const
mp_obj_module_t
mp_module_io
=
{
.
base
=
{
&
mp_type_module
},
.
name
=
MP_QSTR_
_
io
,
.
name
=
MP_QSTR_
u
io
,
.
globals
=
(
mp_obj_dict_t
*
)
&
mp_module_io_globals
,
};
...
...
This diff is collapsed.
Click to expand it.
py/objmodule.c
+
1
−
1
View file @
ddb9dba2
...
...
@@ -137,7 +137,7 @@ STATIC const mp_rom_map_elem_t mp_builtin_module_table[] = {
{
MP_ROM_QSTR
(
MP_QSTR_array
),
MP_ROM_PTR
(
&
mp_module_array
)
},
#endif
#if MICROPY_PY_IO
{
MP_ROM_QSTR
(
MP_QSTR_
_
io
),
MP_ROM_PTR
(
&
mp_module_io
)
},
{
MP_ROM_QSTR
(
MP_QSTR_
u
io
),
MP_ROM_PTR
(
&
mp_module_io
)
},
#endif
#if MICROPY_PY_COLLECTIONS
{
MP_ROM_QSTR
(
MP_QSTR__collections
),
MP_ROM_PTR
(
&
mp_module_collections
)
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment