Skip to content
Snippets Groups Projects
Commit 50a2d6ff authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

Fix incorrect prototype of mp_builtin_open() after args refactor.

parent e2f3e1d2
No related branches found
No related tags found
No related merge requests found
...@@ -112,7 +112,7 @@ static const mp_obj_type_t rawfile_type = { ...@@ -112,7 +112,7 @@ static const mp_obj_type_t rawfile_type = {
}; };
// Factory function for I/O stream classes // Factory function for I/O stream classes
mp_obj_t mp_builtin_open(uint n_args, uint n_kw, const mp_obj_t *args) { mp_obj_t mp_builtin_open(uint n_args, const mp_obj_t *args) {
// TODO: analyze mode and buffering args and instantiate appropriate type // TODO: analyze mode and buffering args and instantiate appropriate type
return fdfile_make_new((mp_obj_t)&rawfile_type, n_args, 0, args); return fdfile_make_new((mp_obj_t)&rawfile_type, n_args, 0, args);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment