a80ff04fe7
Currently, MicroPython strings are mix between CPython byte and unicode strings. So, conversion is null so far. This dummy implementation is intended for compatibility with CPython (so, same code can run on both).
83 lines
951 B
C
83 lines
951 B
C
// All the qstr definitions in this file are available as constants.
|
|
// That is, they are in ROM and you can reference them simple as MP_QSTR_xxxx.
|
|
|
|
Q(__build_class__)
|
|
Q(__class__)
|
|
Q(__doc__)
|
|
Q(__init__)
|
|
Q(__locals__)
|
|
Q(__main__)
|
|
Q(__module__)
|
|
Q(__name__)
|
|
Q(__next__)
|
|
Q(__qualname__)
|
|
Q(__repl_print__)
|
|
|
|
Q(micropython)
|
|
Q(byte_code)
|
|
Q(native)
|
|
Q(viper)
|
|
Q(asm_thumb)
|
|
|
|
Q(Ellipsis)
|
|
Q(StopIteration)
|
|
|
|
Q(AssertionError)
|
|
Q(AttributeError)
|
|
Q(IndentationError)
|
|
Q(IndexError)
|
|
Q(KeyError)
|
|
Q(NameError)
|
|
Q(OSError)
|
|
Q(SyntaxError)
|
|
Q(TypeError)
|
|
Q(ValueError)
|
|
Q(OverflowError)
|
|
|
|
Q(abs)
|
|
Q(all)
|
|
Q(any)
|
|
Q(array)
|
|
Q(bool)
|
|
Q(bytearray)
|
|
Q(bytes)
|
|
Q(callable)
|
|
Q(chr)
|
|
Q(complex)
|
|
Q(dict)
|
|
Q(divmod)
|
|
Q(enumerate)
|
|
Q(eval)
|
|
Q(filter)
|
|
Q(float)
|
|
Q(hash)
|
|
Q(int)
|
|
Q(isinstance)
|
|
Q(issubclass)
|
|
Q(iter)
|
|
Q(len)
|
|
Q(list)
|
|
Q(map)
|
|
Q(max)
|
|
Q(min)
|
|
Q(next)
|
|
Q(ord)
|
|
Q(pow)
|
|
Q(print)
|
|
Q(range)
|
|
Q(repr)
|
|
Q(set)
|
|
Q(sorted)
|
|
Q(sum)
|
|
Q(str)
|
|
Q(tuple)
|
|
Q(type)
|
|
Q(zip)
|
|
|
|
Q(append)
|
|
Q(pop)
|
|
Q(sort)
|
|
Q(join)
|
|
Q(strip)
|
|
Q(format)
|