On 18 June 2016 at 17:53, Christoph Reiter <reiter.christ...@gmail.com> wrote: > On Sat, Jun 18, 2016 at 6:23 PM, <jcup...@gmail.com> wrote: >> What would be the best way to test the return value of image.get_type() >> for invalid? > > image.get_type() == GObject.TYPE_INVALID
Ah of course. I looked under GType and didn't see it. Thanks! John _______________________________________________ python-hackers-list mailing list python-hackers-list@gnome.org https://mail.gnome.org/mailman/listinfo/python-hackers-list