A use-case for for...else with no break

Paul Rubin no.email at nospam.invalid
Fri Nov 3 01:22:17 EDT 2017


Steve D'Aprano <steve+python at pearwood.info> writes:
> for x in something():
>     print(x, end='')

print(''.join(something()))



More information about the Python-list mailing list