python: export generic operand types & groups