diff options
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r-- | py/qstrdefs.h | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h new file mode 100644 index 0000000000..9bc01c5851 --- /dev/null +++ b/py/qstrdefs.h @@ -0,0 +1,82 @@ +// 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) |