mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-111178: Change Argument Clinic signature for METH_O (#130682)
Use "PyObject*" for METH_O functions to fix an undefined behavior.
This commit is contained in:
parent
4162bc133b
commit
9d759b63d8
66 changed files with 843 additions and 190 deletions
|
@ -194,8 +194,8 @@ Update this hash object's state with the provided string.
|
|||
[clinic start generated code]*/
|
||||
|
||||
static PyObject *
|
||||
MD5Type_update(MD5object *self, PyObject *obj)
|
||||
/*[clinic end generated code: output=f6ad168416338423 input=6e1efcd9ecf17032]*/
|
||||
MD5Type_update_impl(MD5object *self, PyObject *obj)
|
||||
/*[clinic end generated code: output=b0fed9a7ce7ad253 input=6e1efcd9ecf17032]*/
|
||||
{
|
||||
Py_buffer buf;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue