File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -165,8 +165,7 @@ PyAPI_FUNC(PyObject *) _PyObject_VectorcallMethod(
165
165
static inline PyObject *
166
166
_PyObject_CallMethodNoArgs (PyObject * self , PyObject * name )
167
167
{
168
- PyObject * args [1 ] = {self };
169
- return _PyObject_VectorcallMethod (name , args ,
168
+ return _PyObject_VectorcallMethod (name , & self ,
170
169
1 | PY_VECTORCALL_ARGUMENTS_OFFSET , NULL );
171
170
}
172
171
@@ -201,8 +200,7 @@ _PyObject_VectorcallMethodId(
201
200
static inline PyObject *
202
201
_PyObject_CallMethodIdNoArgs (PyObject * self , _Py_Identifier * name )
203
202
{
204
- PyObject * args [1 ] = {self };
205
- return _PyObject_VectorcallMethodId (name , args ,
203
+ return _PyObject_VectorcallMethodId (name , & self ,
206
204
1 | PY_VECTORCALL_ARGUMENTS_OFFSET , NULL );
207
205
}
208
206
You can’t perform that action at this time.
0 commit comments