PyAPI: move deep-copy args check to py_capi_utils
This commit is contained in:
@@ -1331,8 +1331,9 @@ static PyObject *Vector_copy(VectorObject *self)
|
||||
}
|
||||
static PyObject *Vector_deepcopy(VectorObject *self, PyObject *args)
|
||||
{
|
||||
if (!mathutils_deepcopy_args_check(args))
|
||||
if (!PyC_CheckArgs_DeepCopy(args)) {
|
||||
return NULL;
|
||||
}
|
||||
return Vector_copy(self);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user