[docs] [issue21314] Document '/' in signatures

Terry J. Reedy report at bugs.python.org
Fri May 31 05:27:15 EDT 2019


Terry J. Reedy <tjreedy at udel.edu> added the comment:

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?

----------
nosy: +terry.reedy

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue21314>
_______________________________________


More information about the docs mailing list