2 Jun
2021
2 Jun
'21
4:11 a.m.
On Wed, Jun 2, 2021 at 10:59 AM Steven D'Aprano
On Wed, Jun 02, 2021 at 10:47:46AM +1000, Chris Angelico wrote:
I can understand the confusion though, given that the parallel constructs cited for justification are all expressions.
"conditional statement, list comprehensions, dict comprehensions"
Two out of three is not bad. Conditional statements are not expressions :-)
Yes but I suspect that the OP actually was thinking about the if/else expression. Otherwise it's not much of a parallel... is it? I am confused. But the OP has a bit of a history of posting unrefined ideas with sloppy justifications so we can't really read too much into it. ChrisA