Kaydet (Commit) 2ac3bc2c authored tarafından Guido van Rossum's avatar Guido van Rossum

rename method arg because of typedef conflict

üst 0865dd9c
...@@ -423,12 +423,12 @@ PyEval_CallFunction(obj, format, va_alist) ...@@ -423,12 +423,12 @@ PyEval_CallFunction(obj, format, va_alist)
#ifdef HAVE_STDARG_PROTOTYPES #ifdef HAVE_STDARG_PROTOTYPES
object * object *
PyEval_CallMethod(object *obj, char *method, char *format, ...) PyEval_CallMethod(object *obj, char *methonname, char *format, ...)
#else #else
object * object *
PyEval_CallMethod(obj, method, format, va_alist) PyEval_CallMethod(obj, methonname, format, va_alist)
object *obj; object *obj;
char *method; char *methonname;
char *format; char *format;
va_dcl va_dcl
#endif #endif
...@@ -438,7 +438,7 @@ PyEval_CallMethod(obj, method, format, va_alist) ...@@ -438,7 +438,7 @@ PyEval_CallMethod(obj, method, format, va_alist)
object *args; object *args;
object *res; object *res;
meth = getattr(obj, method); meth = getattr(obj, methonname);
if (meth == NULL) if (meth == NULL)
return NULL; return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment