mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
bpo-46417: Use _PyType_CAST() in Objects directory (GH-30764)
This commit is contained in:
parent
7835cbf949
commit
ac1f152421
9 changed files with 13 additions and 20 deletions
|
@ -1686,7 +1686,7 @@ float_vectorcall(PyObject *type, PyObject * const*args,
|
|||
}
|
||||
|
||||
PyObject *x = nargs >= 1 ? args[0] : NULL;
|
||||
return float_new_impl((PyTypeObject *)type, x);
|
||||
return float_new_impl(_PyType_CAST(type), x);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue