bindings: python: fix class/struct mismatch