Mercurial > pytave
diff exceptions.h @ 386:668fcb0f68ef
Fix extraction of class name for Python types without a module (fixes issue #79)
* oct-py-util.cc (pytave::py_object_class_name): Handle object types with
__module__ set to None, just return the value of __name__.
* __py_struct_from_dict__.cc (F__py_class_name__): Add test case.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Mon, 03 Apr 2017 08:30:20 -0700 |
parents | 6fffa6219b2c |
children | 09a1acb81d8b |