mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
gh-111178: Change Argument Clinic signature for @classmethod
(#131157)
Use "PyObject*", instead of "PyTypeObject*", for `@classmethod` functions to fix an undefined behavior.
This commit is contained in:
parent
de2f7da77d
commit
061da44bac
22 changed files with 164 additions and 62 deletions
|
@ -1843,8 +1843,8 @@ Alternative chain() constructor taking a single iterable argument that evaluates
|
|||
[clinic start generated code]*/
|
||||
|
||||
static PyObject *
|
||||
itertools_chain_from_iterable(PyTypeObject *type, PyObject *arg)
|
||||
/*[clinic end generated code: output=667ae7a7f7b68654 input=72c39e3a2ca3be85]*/
|
||||
itertools_chain_from_iterable_impl(PyTypeObject *type, PyObject *arg)
|
||||
/*[clinic end generated code: output=3d7ea7d46b9e43f5 input=72c39e3a2ca3be85]*/
|
||||
{
|
||||
PyObject *source;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue