3 ms·
Then what do you replace this line with? s = dedup.setdefault(s, s) There's not an obvious way to get the object in a set that matches a value you have.
by quietbritishjim 5y ago
Then what do you replace this line with?
s = dedup.setdefault(s, s)
There's not an obvious way to get the object in a set that matches a value you have.