[docs] Python 2.7: inconsistency in "Extending Python with C or C++" example code
Jani Poikela
poppis.poikela at gmail.com
Fri Nov 12 20:27:55 CET 2010
Hi!
I wonder the meaningfulness of the inconsistency in the example code in:
http://docs.python.org/extending/extending.html#intermezzo-errors-and-exceptions
in chapters 1.1 and 1.3 the example code has:
return Py_BuildValue("i", sts);
whereas chapter 1.2 example code has:
return PyLong_FromLong(sts);
Best Regards,
Jani 'Pöppis' Poikela
More information about the docs
mailing list