Add a get_type method that returns the typeobject of a wrapped CPython
value