News for hackers. Stuff that matters.
Re:PEP 572: Python assignment expressions has been accepted by hellofunk on Tuesday July 03, 2018 @04:32PM (#17453415)
What is "node => ", is that valid Python? I'm new to the language and have never seen the => syntax before. The docs for 'map' don't show it either.
Re:PEP 572: Python assignment expressions has been accepted by vthriller on Tuesday July 03, 2018 @05:10PM (#17453649)
It's not Python, the second is actually a counterexample in JavaScript, where `node =>` is similar to Python's `lambda node:`