Mercurial > cpython-lru_cache-weakref
diff Python/modsupport.c @ 2154:0728feb1d031 legacy-trunk
rename method arg because of typedef conflict
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 17 Jan 1995 16:31:01 +0000 |
| parents | 0d7e4aa595f7 |
| children | 9894e55468ec |
line wrap: on
line diff
--- a/Python/modsupport.c Tue Jan 17 16:30:22 1995 +0000 +++ b/Python/modsupport.c Tue Jan 17 16:31:01 1995 +0000 @@ -423,12 +423,12 @@ #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 @@ -438,7 +438,7 @@ object *args; object *res; - meth = getattr(obj, method); + meth = getattr(obj, methonname); if (meth == NULL) return NULL;
