mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 06:44:46 +08:00
frozenset is working now / further array conversion tests
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user