def func(): fragments = ' '.join({'{42}' for _ in range(10)})