[python] Enable builtins reversed

This commit is contained in:
Romain Goyet
2018-06-08 09:51:00 +02:00
committed by EmilieNumworks
parent 5008f40a66
commit 217d0ccc10
2 changed files with 2 additions and 3 deletions

View File

@@ -101,6 +101,7 @@ Q(__path__)
Q(__qualname__)
Q(__repl_print__)
Q(__repr__)
Q(__reversed__)
Q(__setitem__)
Q(__str__)
Q(__sub__)
@@ -269,6 +270,7 @@ Q(remove)
Q(replace)
Q(repr)
Q(reverse)
Q(reversed)
Q(rfind)
Q(rindex)
Q(round)

View File

@@ -50,9 +50,6 @@
// Whether to support property object
#define MICROPY_PY_BUILTINS_PROPERTY (0)
// Whether to support reversed function(type)
#define MICROPY_PY_BUILTINS_REVERSED (0)
// Whether to set __file__ for imported modules
#define MICROPY_PY___FILE__ (0)