cpython/Misc/NEWS.d/next/C API/2019-07-07-10-37-07.bpo-372...

4 lines
188 B
ReStructuredText

The vectorcall protocol is now enabled for ``type`` objects: set
``tp_vectorcall`` to a vectorcall function to be used instead of ``tp_new``
and ``tp_init`` when calling the class itself.