Posts: 4,653
Threads: 1,496
Joined: Sep 2016
what is a an expression to put a frozenset inside a frozenset? since a frozenet is hashable it should work ... in theory. when i try it i just get a new frozenset with the members of the one i tried to put in.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Posts: 4,653
Threads: 1,496
Joined: Sep 2016
i mean in the expression that initially creates them. sorry for the confusion.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Posts: 4,653
Threads: 1,496
Joined: Sep 2016
i was trying a way like one of those and was getting a single frozenset with the original numbers. it appeared that frozenset() was just trying to convert whatever container was passed to it to be a frozenset. but now it seems to be working. now i don't know how to do a conversion. one way or the other it does something, but i never know which.
some other code gets numbers out of containers at any depth, and this is part of the test code for it (trying many combinations).
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.