BUG: implementing else case for gentype_format() to call PyObject_Str()