O Objeto None

Note that the PyTypeObject for None is not directly exposed in the Python/C API. Since None is a singleton, testing for object identity (using == in C) is sufficient. There is no PyNone_Check() function for the same reason.

PyObject *Py_None

O objeto Python None, denota falta de valor. Este objeto não tem métodos. O mesmo precisa ser tratado como qualquer outro objeto com relação à contagem de referência.

Py_RETURN_NONE

Manipular devidamente o retorno Py_None de dentro de uma função C (ou seja, incrementar a contagem de referência de None e devolvê-la.)