2 ms·
Python already has " as " operator that I think is very readable. with open('file') as f: ... do something ... I don't know why that didn't come out o
by clinta 7y ago
Python already has " as " operator that I think is very readable.
with open('file') as f:
... do something ...
I don't know why that didn't come out on top in the debate.
if re.match(...) as m:
... do something ...