Fix python old style class wrong arg type