4 ms·
Python 3.14 adds that shorthand, but with a slight different (and IMO uglier) syntax: fn(x=,y=,z=) https://peps.python.org/pep-0736/ https://peps.python.org
by sweetgiorni 1y ago
Python 3.14 adds that shorthand, but with a slight different (and IMO uglier) syntax:
fn(x=,y=,z=)
https://peps.python.org/pep-0736/ https://peps.python.org/pep-0736/
edit: nevermind, that PEP was rejected :/
- pansa2 1y agoThat PEP says “rejected”
- snickerdoodle12 1y agoThankfully so. As much as I want a shorthand, this syntax wasn't it.
- deleted 1y ago[deleted]
- vovavili 1y agoBy the look of it, the feeling I get is that a decent and convenient syntax proposal has been bikeshedded into rejection. Some particular form of keyword arguments at invocation would definitely make quite a few of my scripts more readable.