cpython/Misc/NEWS.d/next/C API/2019-06-11-02-50-38.bpo-372...

4 lines
211 B
ReStructuredText

The new function :c:func:`PyCode_NewWithPosOnlyArgs` allows to create
code objects like :c:func:`PyCode_New`, but with an extra *posonlyargcount*
parameter for indicating the number of positonal-only arguments.