tests/dict_fromkeys: Revert to use reversed() to run in native codegen mode.
This commit is contained in:
parent
83623b2fde
commit
7bb146350e
@ -9,6 +9,6 @@ l.sort()
|
|||||||
print(l)
|
print(l)
|
||||||
|
|
||||||
# argument to fromkeys has no __len__
|
# argument to fromkeys has no __len__
|
||||||
#d = dict.fromkeys(reversed(range(1)))
|
d = dict.fromkeys(reversed(range(1)))
|
||||||
d = dict.fromkeys((x for x in range(1)))
|
#d = dict.fromkeys((x for x in range(1)))
|
||||||
print(d)
|
print(d)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user