Message344047
Hooray! Now that PEP570 is implemented in 3.8:
>>> def f(a, /, *, b): return 3
...
>>> f(0, b=2)
3
# other combinations raise
and somewhat documented, ('/' in grammar of '8.6 Function definitions', though not explained, should its status become final and listing moved? |
|
Date |
User |
Action |
Args |
2019-05-31 09:27:15 | terry.reedy | set | recipients:
+ terry.reedy, rhettinger, ncoghlan, larry, benjamin.peterson, jwilk, docs@python, berker.peksag, zach.ware, pradyunsg, josh.r, veky, emily.zhao, cheryl.sabella, lys.nikolaou, pablogsal, noah.haasis |
2019-05-31 09:27:15 | terry.reedy | set | messageid: <1559294835.43.0.636160521572.issue21314@roundup.psfhosted.org> |
2019-05-31 09:27:15 | terry.reedy | link | issue21314 messages |
2019-05-31 09:27:15 | terry.reedy | create | |
|