4 ms·
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.
by hellofunk 8y ago
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.
- vthriller 8y agoIt's not Python, the second is actually a counterexample in JavaScript, where `node =>` is similar to Python's `lambda node:`
- deleted 8y ago[deleted]
- deleted 8y ago[deleted]