py: "read" & "write" are so common that make them core.
Few other strings move to core, but make depend on "io" module.
This commit is contained in:
parent
100cd36a0e
commit
27f5bdd6d4
|
@ -138,6 +138,7 @@ Q(path)
|
||||||
Q(pow)
|
Q(pow)
|
||||||
Q(print)
|
Q(print)
|
||||||
Q(range)
|
Q(range)
|
||||||
|
Q(read)
|
||||||
Q(repr)
|
Q(repr)
|
||||||
Q(set)
|
Q(set)
|
||||||
Q(sorted)
|
Q(sorted)
|
||||||
|
@ -150,6 +151,7 @@ Q(to_bytes)
|
||||||
Q(tuple)
|
Q(tuple)
|
||||||
Q(type)
|
Q(type)
|
||||||
Q(value)
|
Q(value)
|
||||||
|
Q(write)
|
||||||
Q(zip)
|
Q(zip)
|
||||||
|
|
||||||
Q(sep)
|
Q(sep)
|
||||||
|
@ -309,6 +311,8 @@ Q(unpack)
|
||||||
|
|
||||||
#if MICROPY_ENABLE_MOD_IO
|
#if MICROPY_ENABLE_MOD_IO
|
||||||
Q(io)
|
Q(io)
|
||||||
|
Q(readall)
|
||||||
|
Q(readline)
|
||||||
Q(StringIO)
|
Q(StringIO)
|
||||||
Q(BytesIO)
|
Q(BytesIO)
|
||||||
Q(getvalue)
|
Q(getvalue)
|
||||||
|
|
|
@ -3,10 +3,6 @@
|
||||||
Q(Test)
|
Q(Test)
|
||||||
|
|
||||||
Q(fileno)
|
Q(fileno)
|
||||||
Q(read)
|
|
||||||
Q(readall)
|
|
||||||
Q(readline)
|
|
||||||
Q(write)
|
|
||||||
Q(makefile)
|
Q(makefile)
|
||||||
|
|
||||||
Q(FileIO)
|
Q(FileIO)
|
||||||
|
|
Loading…
Reference in New Issue