frozenset is working now / further array conversion tests

This commit is contained in:
David Halter committed 2012-08-07 00:11:44 +02:00
1 parent 5f26d0c442
commit 8bd73d96cb
2 files changed
+29 -2

No files matched your search

+17 -2
View File
@@ -187,8 +187,23 @@ GetItem("")[1]
# conversions
# -----------------
a = [1, ""]
#? int() str()
list([1,""])[1]
list(a)[1]
#? int() str()
list(set([1,""]))[1]
list(a)[0]
#? int() str()
list(set(a))[1]
#? int() str()
list(list(set(a)))[1]
# does not yet work, because the recursion catching is not good enough (catches # to much)
##? int() str()
list(set(list(set(a))))[1]
##? int() str()
list(set(set(a)))[1]
#? int() str()
list(frozenset(a))[1]