New submission from Julien Palard: It looks like the "Converting Your First Function" has been written with clinic-generated C code interspersed with user C code. But it looks like nowadays a `clinic/{}.c.h` file is generated, so the "Converting Your First Function" should tell us to add the `#include "clinic/…`.
Also, the documentation states: > If any of these items differ in any way, adjust your Argument > Clinic function specification and rerun Tools/clinic/clinic.py > until they are the same. But since `METH_FASTCALL` it may be wrong (Clinic generated `METH_FASTCALL` but it was `METH_VARARGS|METH_KEYWORDS`). ---------- messages: 281281 nosy: mdk priority: normal severity: normal status: open title: Clinic: Converting Your First Function is not up to date _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28753> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com