Небольшой новый синтаксический PEP: https://peps.python.org/pep-0736/
Вообще, наверное, полезно. С каждым днём мы все больше и больше похожи на раст
Post #619
2.52K
Forwarded from CPython notes
Python Enhancement Proposals (PEPs) PEP 736 – Shorthand syntax for keyword arguments at invocation | peps.python.org This PEP proposes to introduce syntactic sugar f(x=) for the common pattern where a keyword argument has the same name as that of the variable corresponding to its value f(x=x).- 🥴 14
- 👍 9
- ❤ 3
- 🤔 1