Short version
I recently came across some Python code in which the return type for a function was specified as PyObject in the document
PyObject
Every value you can touch in Python is a PyObject in C. That includes lists, dictionaries, sockets, files, integers, strings, functions, classes, you name it. If you can touch it in Python, it’s a PyObject in C.