docs: always set py_type to not crash on docstring creation with bogus gir