diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx index 71b5df9de..9de3ed5b8 100644 --- a/Source/Modules/python.cxx +++ b/Source/Modules/python.cxx @@ -1510,7 +1510,7 @@ public: sibl = Getattr(sibl, "sym:previousSibling"); // go all the way up String *protoTypes = NewString(""); do { - Printf(protoTypes, "\n\" %s(%s)\\n\"", Getattr(sibl, "name"), ParmList_protostr(Getattr(sibl, "wrap:parms"))); + Printf(protoTypes, "\n\" %s(%s)\\n\"", SwigType_str(Getattr(sibl, "name"), 0), ParmList_protostr(Getattr(sibl, "wrap:parms"))); } while ((sibl = Getattr(sibl, "sym:nextSibling"))); Append(f->code, "fail:\n"); Printf(f->code, "SWIG_SetErrorMsg(PyExc_NotImplementedError,"