Commits

Guido van Rossum  committed 0728feb

rename method arg because of typedef conflict

  • Participants
  • Parent commits e54b865
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Python/modsupport.c

 
 #ifdef HAVE_STDARG_PROTOTYPES
 object *
-PyEval_CallMethod(object *obj, char *method, char *format, ...)
+PyEval_CallMethod(object *obj, char *methonname, char *format, ...)
 #else
 object *
-PyEval_CallMethod(obj, method, format, va_alist)
+PyEval_CallMethod(obj, methonname, format, va_alist)
 	object *obj;
-	char *method;
+	char *methonname;
 	char *format;
 	va_dcl
 #endif
 	object *args;
 	object *res;
 
-	meth = getattr(obj, method);
+	meth = getattr(obj, methonname);
 	if (meth == NULL)
 		return NULL;