diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx index fa4f02fc8..ad06703d0 100644 --- a/Source/Modules/python.cxx +++ b/Source/Modules/python.cxx @@ -2733,7 +2733,7 @@ public: } } Printf(f_shadow_file, "%s_swigregister = %s.%s_swigregister\n", class_name, module, class_name); - Printf(f_shadow_file, "%s_swigregister(%s)\n", class_name, class_name, 0); + Printf(f_shadow_file, "%s_swigregister(%s)\n", class_name, class_name); shadow_indent = 0; Printf(f_shadow_file, "%s\n", f_shadow_stubs);