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