SwigPyObject type info from python

Christoph Holtermann via Swig-user <[email protected]> Mon, 7 Mar 2022 09:50:03 +0100
Newsgroups gmane.comp.programming.swig
Message-ID <[email protected]>
Hello,

I am working with the python swig wrappers of gnucash.

On python I want to know the type of an object:

 >> repr(t)

<Swig Object of type 'Transaction*' at 0x7f88e3385240>

>>  type(t)

SwigPyObject

I'd like to know the type of the SwigPyObject which in this case would 
be 'Transaction *'.
I did not find a way to query that. I could parse the repr string but 
that is surely not the best
way to go.

Regards and Thanks in advance,

Christoph Holtermann

_______________________________________________
Swig-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/swig-user