blob: fda140f11f4b865e181e8341417e364a9d44f892 [file] [log] [blame]
Damien George04b91472014-05-03 23:27:38 +01001/*
2 * This file is part of the Micro Python project, http://micropython.org/
3 *
4 * The MIT License (MIT)
5 *
6 * Copyright (c) 2013, 2014 Damien P. George
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a copy
9 * of this software and associated documentation files (the "Software"), to deal
10 * in the Software without restriction, including without limitation the rights
11 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 * copies of the Software, and to permit persons to whom the Software is
13 * furnished to do so, subject to the following conditions:
14 *
15 * The above copyright notice and this permission notice shall be included in
16 * all copies or substantial portions of the Software.
17 *
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24 * THE SOFTWARE.
25 */
26
Paul Sokolovskya925cb52014-04-11 20:50:15 +030027#include "mpconfig.h"
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000028// All the qstr definitions in this file are available as constants.
Damien George0c36da02014-03-08 15:24:39 +000029// That is, they are in ROM and you can reference them simply as MP_QSTR_xxxx.
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000030
Damien George708c0732014-04-27 19:23:46 +010031Q(*)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000032Q(__build_class__)
33Q(__class__)
34Q(__doc__)
Paul Sokolovsky1d938c92014-02-04 00:46:17 +020035Q(__import__)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000036Q(__init__)
Paul Sokolovsky13684fd2014-05-18 20:37:18 +030037Q(__new__)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000038Q(__locals__)
39Q(__main__)
40Q(__module__)
41Q(__name__)
42Q(__next__)
43Q(__qualname__)
Paul Sokolovsky13d52df2014-04-11 23:25:35 +030044Q(__path__)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000045Q(__repl_print__)
Paul Sokolovskyd0f5e612014-07-25 11:00:15 +030046#if MICROPY_PY___FILE__
47Q(__file__)
48#endif
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000049
Damien George09a0c642014-01-30 10:05:33 +000050Q(__bool__)
Paul Sokolovsky036ad762014-04-13 10:39:25 +030051Q(__contains__)
Paul Sokolovsky44307d52014-03-29 04:10:11 +020052Q(__enter__)
53Q(__exit__)
Damien George09a0c642014-01-30 10:05:33 +000054Q(__len__)
Damien George9e6e9352014-03-26 18:37:06 +000055Q(__iter__)
Damien George7c9c6672014-01-25 00:17:36 +000056Q(__getitem__)
Damien George7d0bfbe2014-02-08 19:01:47 +000057Q(__setitem__)
Paul Sokolovsky14de1142014-04-13 23:55:59 +030058Q(__delitem__)
Damien George7c9c6672014-01-25 00:17:36 +000059Q(__add__)
60Q(__sub__)
Paul Sokolovsky51bbf6a2014-03-16 15:16:54 +020061Q(__repr__)
62Q(__str__)
Damien Georgee44d26a2014-03-31 22:57:56 +010063Q(__getattr__)
muxcc849f72014-04-05 15:49:03 +020064Q(__del__)
Paul Sokolovsky755565d2014-04-25 21:15:16 +030065Q(__call__)
Paul Sokolovsky5473f742014-06-08 00:01:46 +030066Q(__lt__)
Damien George779794a2014-08-26 09:31:26 +010067Q(__gt__)
68Q(__eq__)
69Q(__le__)
70Q(__ge__)
Damien George7c9c6672014-01-25 00:17:36 +000071
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000072Q(micropython)
Damien George3417bc22014-05-10 10:36:38 +010073Q(bytecode)
Damien George2ac4af62014-08-15 16:45:41 +010074Q(const)
75
Damien Georgec90f59e2014-09-06 23:06:36 +010076#if MICROPY_EMIT_NATIVE
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000077Q(native)
78Q(viper)
Damien George2ac4af62014-08-15 16:45:41 +010079Q(uint)
Damien Georgee9dac3b2014-09-29 22:10:41 +010080Q(ptr)
81Q(ptr8)
82Q(ptr16)
Damien George2ac4af62014-08-15 16:45:41 +010083#endif
Damien Georgee5f8a772014-04-21 13:33:15 +010084
85#if MICROPY_EMIT_INLINE_THUMB
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000086Q(asm_thumb)
Damien Georgee5f8a772014-04-21 13:33:15 +010087Q(label)
88Q(align)
89Q(data)
90#endif
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000091
Damien George3d615282014-09-17 23:17:26 +010092Q(builtins)
93
Damien Georgee9906ac2014-01-04 18:44:46 +000094Q(Ellipsis)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000095Q(StopIteration)
96
Damien Georgec5966122014-02-15 16:10:44 +000097Q(BaseException)
Rachel Dowdall721c55d2014-03-22 15:28:16 +000098Q(ArithmeticError)
Damien George71c51812014-01-04 20:21:15 +000099Q(AssertionError)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000100Q(AttributeError)
Rachel Dowdall721c55d2014-03-22 15:28:16 +0000101Q(BufferError)
Rachel Dowdall721c55d2014-03-22 15:28:16 +0000102Q(EOFError)
Rachel Dowdall721c55d2014-03-22 15:28:16 +0000103Q(Exception)
104Q(FileExistsError)
105Q(FileNotFoundError)
106Q(FloatingPointError)
Rachel Dowdall721c55d2014-03-22 15:28:16 +0000107Q(GeneratorExit)
108Q(IOError)
Paul Sokolovsky7cd54d72014-02-04 03:33:55 +0200109Q(ImportError)
Damien George9528cd62014-01-15 21:23:31 +0000110Q(IndentationError)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000111Q(IndexError)
112Q(KeyError)
Rachel Dowdall721c55d2014-03-22 15:28:16 +0000113Q(LookupError)
114Q(MemoryError)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000115Q(NameError)
Paul Sokolovsky76f06de2014-02-09 13:17:36 +0200116Q(NotImplementedError)
Damien George9528cd62014-01-15 21:23:31 +0000117Q(OSError)
Paul Sokolovsky166bb402014-01-18 12:46:43 +0200118Q(OverflowError)
Rachel Dowdall721c55d2014-03-22 15:28:16 +0000119Q(RuntimeError)
Rachel Dowdall721c55d2014-03-22 15:28:16 +0000120Q(SyntaxError)
Rachel Dowdall721c55d2014-03-22 15:28:16 +0000121Q(SystemError)
Damien George7a4ddd22014-05-24 23:32:19 +0100122Q(SystemExit)
Rachel Dowdall721c55d2014-03-22 15:28:16 +0000123Q(TypeError)
124Q(UnboundLocalError)
Rachel Dowdall721c55d2014-03-22 15:28:16 +0000125Q(ValueError)
Rachel Dowdall300c8bd2014-03-20 22:40:38 +0000126Q(ZeroDivisionError)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000127
Damien George3ec0a1a2014-03-22 21:31:28 +0000128Q(None)
129Q(False)
130Q(True)
131Q(object)
Rachel Dowdall721c55d2014-03-22 15:28:16 +0000132
Damien Georgea71c83a2014-02-15 11:34:50 +0000133Q(NoneType)
134
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000135Q(abs)
136Q(all)
137Q(any)
Paul Sokolovsky9512e9e2014-03-25 01:29:09 +0200138Q(args)
Paul Sokolovsky427905c2014-01-18 19:24:47 +0200139Q(array)
Damien George897fe0c2014-04-15 22:03:55 +0100140Q(bin)
141Q({:#b})
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000142Q(bool)
Paul Sokolovsky427905c2014-01-18 19:24:47 +0200143Q(bytearray)
Paul Sokolovskya80ff042014-01-20 20:32:50 +0200144Q(bytes)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000145Q(callable)
Damien Georgeee3fd462014-05-24 23:03:12 +0100146#if MICROPY_PY_STRUCT
Paul Sokolovskye9db8402014-04-10 03:45:38 +0300147Q(calcsize)
148#endif
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000149Q(chr)
Damien George64131f32014-02-06 20:31:44 +0000150Q(classmethod)
Paul Sokolovsky48fdaad2014-04-13 10:17:04 +0300151Q(_collections)
Damien Georgef20375e2014-08-12 19:57:52 +0100152#if MICROPY_PY_BUILTINS_COMPLEX
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000153Q(complex)
Damien Georgef20375e2014-08-12 19:57:52 +0100154Q(real)
155Q(imag)
156#endif
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000157Q(dict)
Damien George4acb2452014-02-02 22:07:44 +0000158Q(dir)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000159Q(divmod)
John R. Lenton9daa7892014-01-14 23:55:01 +0000160Q(enumerate)
Damien Georged02c6d82014-01-15 22:14:03 +0000161Q(eval)
Damien Georgeca476792014-02-03 22:44:10 +0000162Q(exec)
John R. Lentonfca456b2014-01-15 01:37:08 +0000163Q(filter)
Damien George75ec22b2014-08-12 20:16:03 +0100164#if MICROPY_PY_BUILTINS_FLOAT
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000165Q(float)
Damien George75ec22b2014-08-12 20:16:03 +0100166#endif
Paul Sokolovskya985b452014-04-09 00:40:58 +0300167Q(from_bytes)
Paul Sokolovskye9137b92014-03-26 23:35:13 +0200168Q(getattr)
Paul Sokolovskycc0af3d2014-04-06 01:00:46 +0300169Q(globals)
Paul Sokolovskyff306662014-05-11 19:05:42 +0300170Q(hasattr)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000171Q(hash)
Damien George58051112014-04-15 12:42:52 +0100172Q(hex)
Damien Georgeb013aea2014-04-15 12:50:21 +0100173Q(%#x)
xbe0ebf8532014-02-01 19:00:41 -0800174Q(id)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000175Q(int)
Damien George004cdce2014-01-09 21:43:51 +0000176Q(isinstance)
177Q(issubclass)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000178Q(iter)
179Q(len)
180Q(list)
Paul Sokolovskycc0af3d2014-04-06 01:00:46 +0300181Q(locals)
John R. Lenton39b174e2014-01-15 01:10:09 +0000182Q(map)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000183Q(max)
184Q(min)
Paul Sokolovskyd08fd682014-02-27 22:22:04 +0200185Q(namedtuple)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000186Q(next)
Damien George897fe0c2014-04-15 22:03:55 +0100187Q(oct)
188Q(%#o)
Damien George27e735f2014-04-05 23:02:23 +0100189Q(open)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000190Q(ord)
Paul Sokolovskye11b17c2014-02-05 00:47:06 +0200191Q(path)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000192Q(pow)
193Q(print)
194Q(range)
Paul Sokolovsky27f5bdd2014-04-26 21:15:56 +0300195Q(read)
Damien Georgee2fb2ba2014-01-15 21:40:48 +0000196Q(repr)
Damien George4c03b3a2014-08-12 18:33:40 +0100197Q(reversed)
John R. Lenton5c768392014-01-13 05:12:50 +0000198Q(sorted)
Damien George64131f32014-02-06 20:31:44 +0000199Q(staticmethod)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000200Q(sum)
Damien George35e2a4e2014-02-05 00:51:47 +0000201Q(super)
Paul Sokolovsky36c44992014-01-13 19:20:46 +0200202Q(str)
Paul Sokolovsky0c59db12014-02-04 07:55:10 +0200203Q(sys)
Paul Sokolovskya985b452014-04-09 00:40:58 +0300204Q(to_bytes)
Damien George71c51812014-01-04 20:21:15 +0000205Q(tuple)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000206Q(type)
Paul Sokolovsky9512e9e2014-03-25 01:29:09 +0200207Q(value)
Paul Sokolovsky27f5bdd2014-04-26 21:15:56 +0300208Q(write)
John R. Lenton07205ec2014-01-13 02:31:00 +0000209Q(zip)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000210
Damien George48815662014-04-02 10:34:44 +0100211Q(sep)
212Q(end)
213
Damien Georgec12b2212014-03-26 20:15:40 +0000214Q(clear)
215Q(copy)
216Q(fromkeys)
217Q(get)
218Q(items)
219Q(keys)
220Q(pop)
221Q(popitem)
222Q(setdefault)
223Q(update)
224Q(values)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000225Q(append)
Damien Georgec12b2212014-03-26 20:15:40 +0000226Q(close)
227Q(send)
228Q(throw)
229Q(count)
230Q(extend)
231Q(index)
232Q(remove)
233Q(insert)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000234Q(pop)
235Q(sort)
236Q(join)
xbe7b0f39f2014-01-08 14:23:45 -0800237Q(strip)
Paul Sokolovsky88107842014-04-26 06:20:08 +0300238Q(lstrip)
239Q(rstrip)
Damien Georgeeb7bfcb2014-01-04 15:57:35 +0000240Q(format)
Damien George7d0bfbe2014-02-08 19:01:47 +0000241Q(key)
242Q(reverse)
Damien Georgec12b2212014-03-26 20:15:40 +0000243Q(add)
244Q(clear)
245Q(copy)
Damien Georgec12b2212014-03-26 20:15:40 +0000246Q(pop)
247Q(remove)
Damien Georgec12b2212014-03-26 20:15:40 +0000248Q(find)
249Q(rfind)
xbe3d9a39e2014-04-08 11:42:19 -0700250Q(rindex)
Damien Georgec12b2212014-03-26 20:15:40 +0000251Q(split)
Paul Sokolovsky2a273652014-05-13 08:07:08 +0300252Q(rsplit)
Damien Georgec12b2212014-03-26 20:15:40 +0000253Q(startswith)
Paul Sokolovskyd098c6b2014-05-24 22:46:51 +0300254Q(endswith)
Damien Georgec12b2212014-03-26 20:15:40 +0000255Q(replace)
256Q(partition)
257Q(rpartition)
Paul Sokolovsky69135212014-05-10 19:47:41 +0300258Q(lower)
259Q(upper)
Kim Bautersa3f4b832014-05-31 07:30:03 +0100260Q(isspace)
261Q(isalpha)
262Q(isdigit)
263Q(isupper)
264Q(islower)
Damien George491cbd62014-05-06 16:38:54 +0000265Q(iterable)
266Q(start)
Paul Sokolovskyab5d0822014-01-24 00:22:00 +0200267
Damien Georgea71c83a2014-02-15 11:34:50 +0000268Q(bound_method)
269Q(closure)
270Q(dict_view)
271Q(function)
272Q(generator)
273Q(iterator)
274Q(module)
275Q(slice)
276
Damien George75ec22b2014-08-12 20:16:03 +0100277#if MICROPY_PY_BUILTINS_SET
278Q(discard)
279Q(difference)
280Q(difference_update)
281Q(intersection)
282Q(intersection_update)
283Q(isdisjoint)
284Q(issubset)
285Q(issuperset)
286Q(set)
287Q(symmetric_difference)
288Q(symmetric_difference_update)
289Q(union)
290Q(update)
291#endif
292
Damien Georgefb510b32014-06-01 13:32:54 +0100293#if MICROPY_PY_BUILTINS_FROZENSET
Paul Sokolovskyb181b582014-05-10 16:02:17 +0300294Q(frozenset)
295#endif
296
Damien Georgeee3fd462014-05-24 23:03:12 +0100297#if MICROPY_PY_MATH || MICROPY_PY_CMATH
Damien George0c36da02014-03-08 15:24:39 +0000298Q(math)
Damien Georgea9256392014-03-20 16:39:22 +0000299Q(e)
Damien George0c36da02014-03-08 15:24:39 +0000300Q(pi)
301Q(sqrt)
302Q(pow)
303Q(exp)
Damien George8854e1f2014-03-12 21:31:41 +0000304Q(expm1)
Damien George0c36da02014-03-08 15:24:39 +0000305Q(log)
306Q(log2)
307Q(log10)
308Q(cosh)
309Q(sinh)
310Q(tanh)
311Q(acosh)
312Q(asinh)
313Q(atanh)
314Q(cos)
315Q(sin)
316Q(tan)
317Q(acos)
318Q(asin)
319Q(atan)
320Q(atan2)
Rachel Dowdall5a14a1d2014-03-20 21:26:51 +0000321Q(ceil)
322Q(copysign)
323Q(fabs)
Rachel Dowdall5a14a1d2014-03-20 21:26:51 +0000324Q(fmod)
Rachel Dowdall249b9c72014-03-22 14:39:33 +0000325Q(floor)
Rachel Dowdall5a14a1d2014-03-20 21:26:51 +0000326Q(isfinite)
327Q(isinf)
328Q(isnan)
329Q(trunc)
Rachel Dowdall249b9c72014-03-22 14:39:33 +0000330Q(modf)
331Q(frexp)
332Q(ldexp)
333Q(degrees)
334Q(radians)
335Q(erf)
336Q(erfc)
337Q(gamma)
338Q(lgamma)
Damien Georgedbdfee12014-04-17 17:11:03 +0100339#endif
340
Damien Georgeee3fd462014-05-24 23:03:12 +0100341#if MICROPY_PY_CMATH
Damien Georgedbdfee12014-04-17 17:11:03 +0100342Q(cmath)
343Q(phase)
344Q(polar)
345Q(rect)
346#endif
Damien George0c36da02014-03-08 15:24:39 +0000347
Damien George75ec22b2014-08-12 20:16:03 +0100348#if MICROPY_MEM_STATS
Damien George0c36da02014-03-08 15:24:39 +0000349Q(mem_total)
350Q(mem_current)
351Q(mem_peak)
Damien George75ec22b2014-08-12 20:16:03 +0100352#endif
Damien George0c36da02014-03-08 15:24:39 +0000353
Dave Hylands5b7fd202014-07-01 23:46:53 -0700354#if MICROPY_ENABLE_EMERGENCY_EXCEPTION_BUF && (MICROPY_EMERGENCY_EXCEPTION_BUF_SIZE == 0)
355Q(alloc_emergency_exception_buf)
356#endif
357
Paul Sokolovskyab5d0822014-01-24 00:22:00 +0200358Q(<module>)
359Q(<lambda>)
360Q(<listcomp>)
361Q(<dictcomp>)
362Q(<setcomp>)
363Q(<genexpr>)
Damien Georgeb829b5c2014-01-25 13:51:19 +0000364Q(<string>)
Paul Sokolovskyab5d0822014-01-24 00:22:00 +0200365Q(<stdin>)
Paul Sokolovsky73b70272014-04-13 05:28:46 +0300366
367#if MICROPY_CPYTHON_COMPAT
368Q(encode)
369Q(decode)
370Q(utf-8)
371#endif
Paul Sokolovskya3e50ea2014-04-13 06:55:24 +0300372
Damien Georgeee3fd462014-05-24 23:03:12 +0100373#if MICROPY_PY_SYS
Paul Sokolovskya3e50ea2014-04-13 06:55:24 +0300374Q(argv)
Paul Sokolovsky978d2c02014-04-13 09:53:52 +0300375Q(byteorder)
376Q(big)
Paul Sokolovskyd99e9082014-05-10 16:50:45 +0300377Q(exit)
Paul Sokolovsky978d2c02014-04-13 09:53:52 +0300378Q(little)
Paul Sokolovskyb9b93542014-06-07 23:40:04 +0300379#ifdef MICROPY_PY_SYS_PLATFORM
380Q(platform)
381#endif
Paul Sokolovskya3e50ea2014-04-13 06:55:24 +0300382Q(stdin)
383Q(stdout)
384Q(stderr)
Paul Sokolovskybbae42d2014-04-14 01:46:45 +0300385Q(version)
Paul Sokolovskybaaaf652014-04-13 09:46:58 +0300386Q(version_info)
Paul Sokolovsky4e0eeeb2014-07-03 16:50:11 +0300387#if MICROPY_PY_SYS_MAXSIZE
388Q(maxsize)
389#endif
Paul Sokolovskya3e50ea2014-04-13 06:55:24 +0300390#endif
Damien George777b0f32014-04-13 18:59:45 +0100391
Damien Georgeee3fd462014-05-24 23:03:12 +0100392#if MICROPY_PY_STRUCT
Paul Sokolovsky62044602014-04-19 03:13:15 +0300393Q(struct)
394Q(pack)
395Q(unpack)
396#endif
397
Paul Sokolovsky82158472014-06-28 03:03:47 +0300398#if MICROPY_PY_UCTYPES
399Q(uctypes)
400Q(sizeof)
401Q(addressof)
402Q(bytes_at)
403Q(bytearray_at)
404
405Q(NATIVE)
406Q(LITTLE_ENDIAN)
407Q(BIG_ENDIAN)
408
409Q(VOID)
410
411Q(UINT8)
412Q(INT8)
413Q(UINT16)
414Q(INT16)
415Q(UINT32)
416Q(INT32)
417Q(UINT64)
418Q(INT64)
419
420Q(BFUINT8)
421Q(BFINT8)
422Q(BFUINT16)
423Q(BFINT16)
424Q(BFUINT32)
425Q(BFINT32)
426
427Q(FLOAT32)
428Q(FLOAT64)
429
430Q(ARRAY)
431Q(PTR)
432//Q(BITFIELD)
Paul Sokolovsky2097c8b2014-07-11 00:06:36 +0300433
434Q(BF_POS)
435Q(BF_LEN)
Paul Sokolovsky82158472014-06-28 03:03:47 +0300436#endif
437
Damien Georgeee3fd462014-05-24 23:03:12 +0100438#if MICROPY_PY_IO
Paul Sokolovskyfbdf2f12014-06-12 01:22:25 +0300439Q(_io)
Paul Sokolovsky27f5bdd2014-04-26 21:15:56 +0300440Q(readall)
441Q(readline)
Damien Georged5f5b2f2014-05-03 22:01:32 +0100442Q(readlines)
Paul Sokolovsky9e296662014-05-19 20:59:13 +0300443Q(FileIO)
444Q(TextIOWrapper)
Paul Sokolovskycb9dc082014-04-26 20:26:14 +0300445Q(StringIO)
446Q(BytesIO)
447Q(getvalue)
Paul Sokolovskycb66f412014-07-13 23:07:42 +0300448Q(file)
Paul Sokolovskycb9dc082014-04-26 20:26:14 +0300449#endif
450
Damien Georgeee3fd462014-05-24 23:03:12 +0100451#if MICROPY_PY_GC
Paul Sokolovskyf9e54e02014-05-06 02:16:43 +0300452Q(gc)
453Q(collect)
Damien George8c1c7482014-05-08 23:04:49 +0100454Q(disable)
455Q(enable)
Paul Sokolovsky5aa740c2014-06-24 21:23:40 +0300456Q(mem_free)
457Q(mem_alloc)
Paul Sokolovskyf9e54e02014-05-06 02:16:43 +0300458#endif
459
Damien Georgefb510b32014-06-01 13:32:54 +0100460#if MICROPY_PY_BUILTINS_PROPERTY
Damien George777b0f32014-04-13 18:59:45 +0100461Q(property)
462Q(getter)
463Q(setter)
464Q(deleter)
465#endif
Paul Sokolovsky510296f2014-08-08 22:51:40 +0300466
467#if MICROPY_PY_ZLIBD
468Q(zlibd)
469Q(decompress)
470#endif
Damien George612045f2014-09-17 22:56:34 +0100471
472#if MICROPY_PY_UJSON
473Q(ujson)
474Q(dumps)
Damien George89e46572014-09-21 11:40:01 +0100475Q(loads)
Damien George612045f2014-09-17 22:56:34 +0100476#endif