summaryrefslogtreecommitdiffstats
path: root/Python/modsupport.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-08-08 20:51:26 (GMT)
committerGuido van Rossum <guido@python.org>1998-08-08 20:51:26 (GMT)
commitc4099e6b3ceab5a33bff3d0b0ba432df2b3ebaec (patch)
tree8baa97664050f9d383d70ae6a10660cd8db2d2a5 /Python/modsupport.c
parentb58dff553b51a139cc9be4fc5cdbb0c8c4638ce4 (diff)
downloadcpython-c4099e6b3ceab5a33bff3d0b0ba432df2b3ebaec.zip
cpython-c4099e6b3ceab5a33bff3d0b0ba432df2b3ebaec.tar.gz
cpython-c4099e6b3ceab5a33bff3d0b0ba432df2b3ebaec.tar.bz2
# Fix strange type (methonname instead of methodname).
Diffstat (limited to 'Python/modsupport.c')
-rw-r--r--Python/modsupport.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Python/modsupport.c b/Python/modsupport.c
index f5c61da..7e1acab 100644
--- a/Python/modsupport.c
+++ b/Python/modsupport.c
@@ -461,12 +461,12 @@ PyEval_CallFunction(obj, format, va_alist)
#ifdef HAVE_STDARG_PROTOTYPES
PyObject *
-PyEval_CallMethod(PyObject *obj, char *methonname, char *format, ...)
+PyEval_CallMethod(PyObject *obj, char *methodname, char *format, ...)
#else
PyObject *
-PyEval_CallMethod(obj, methonname, format, va_alist)
+PyEval_CallMethod(obj, methodname, format, va_alist)
PyObject *obj;
- char *methonname;
+ char *methodname;
char *format;
va_dcl
#endif
@@ -476,7 +476,7 @@ PyEval_CallMethod(obj, methonname, format, va_alist)
PyObject *args;
PyObject *res;
- meth = PyObject_GetAttrString(obj, methonname);
+ meth = PyObject_GetAttrString(obj, methodname);
if (meth == NULL)
return NULL;