Browse Source

py: "read" & "write" are so common that make them core.

Few other strings move to core, but make depend on "io" module.
pull/528/head
Paul Sokolovsky 11 years ago
parent
commit
27f5bdd6d4
  1. 4
      py/qstrdefs.h
  2. 4
      unix/qstrdefsport.h

4
py/qstrdefs.h

@ -138,6 +138,7 @@ Q(path)
Q(pow)
Q(print)
Q(range)
Q(read)
Q(repr)
Q(set)
Q(sorted)
@ -150,6 +151,7 @@ Q(to_bytes)
Q(tuple)
Q(type)
Q(value)
Q(write)
Q(zip)
Q(sep)
@ -309,6 +311,8 @@ Q(unpack)
#if MICROPY_ENABLE_MOD_IO
Q(io)
Q(readall)
Q(readline)
Q(StringIO)
Q(BytesIO)
Q(getvalue)

4
unix/qstrdefsport.h

@ -3,10 +3,6 @@
Q(Test)
Q(fileno)
Q(read)
Q(readall)
Q(readline)
Q(write)
Q(makefile)
Q(FileIO)

Loading…
Cancel
Save