Many Python/C API functions create objects of a known type. For example,
PyUnicode_Decode() always returns a "unicode" object. In some cases,
this return type is reflected in the declaration in
Cython/Includes/cpython, in other cases (such as PyUnicodeDecode() that
I just mentioned) not.
What
Am 23. November 2017 15:32:13 MEZ schrieb Jeroen Demeyer:
>Many Python/C API functions create objects of a known type. For
>example,
>PyUnicode_Decode() always returns a "unicode" object. In some cases,
>this return type is reflected in the declaration in
>Cython/Includes/cpython, in other cases