16 Apr
2020
16 Apr
'20
1:21 p.m.
On Thu, Apr 16, 2020 at 10:02 AM
@
Do any other languages already have this feature?
JavaScript ES6 has similar feature:
```javascript x = 1 y = 2 do_something({ x, y }) ```
Rust also has a similar feature when instantiating structs which are always keyword-based: https://doc.rust-lang.org/book/ch05-01-defining-structs.html#using-the-field... .
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-leave@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/64SUXR... Code of Conduct: http://python.org/psf/codeofconduct/