File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1034,7 +1034,7 @@ PyObject_CallMethod(va_alist) va_dcl
10341034#endif
10351035{
10361036 va_list va ;
1037- PyObject * args , * PyCFunction = 0 , * retval ;
1037+ PyObject * args , * func = 0 , * retval ;
10381038#ifdef HAVE_STDARG_PROTOTYPES
10391039 va_start (va , format );
10401040#else
@@ -1053,15 +1053,15 @@ PyObject_CallMethod(va_alist) va_dcl
10531053 return Py_ReturnNullError ();
10541054 }
10551055
1056- PyCFunction = PyObject_GetAttrString (o ,name );
1057- if (! PyCFunction )
1056+ func = PyObject_GetAttrString (o ,name );
1057+ if (! func )
10581058 {
10591059 va_end (va );
10601060 PyErr_SetString (PyExc_AttributeError ,name );
10611061 return 0 ;
10621062 }
10631063
1064- if (! (PyCallable_Check (PyCFunction )))
1064+ if (! (PyCallable_Check (func )))
10651065 {
10661066 va_end (va );
10671067 PyErr_SetString (PyExc_TypeError ,"call of non-callable attribute" );
@@ -1086,9 +1086,9 @@ PyObject_CallMethod(va_alist) va_dcl
10861086 args = a ;
10871087 }
10881088
1089- retval = PyObject_CallObject (PyCFunction ,args );
1089+ retval = PyObject_CallObject (func ,args );
10901090 Py_DECREF (args );
1091- Py_DECREF (PyCFunction );
1091+ Py_DECREF (func );
10921092 return retval ;
10931093}
10941094
You can’t perform that action at this time.
0 commit comments