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
|
@ -2309,8 +2309,8 @@ This information can be later retrieved using the getwin() function.
|
|||
[clinic start generated code]*/
|
||||
|
||||
static PyObject *
|
||||
_curses_window_putwin(PyCursesWindowObject *self, PyObject *file)
|
||||
/*[clinic end generated code: output=3a25e2a5e7a040ac input=0608648e09c8ea0a]*/
|
||||
_curses_window_putwin_impl(PyCursesWindowObject *self, PyObject *file)
|
||||
/*[clinic end generated code: output=fdae68ac59b0281b input=0608648e09c8ea0a]*/
|
||||
{
|
||||
/* We have to simulate this by writing to a temporary FILE*,
|
||||
then reading back, then writing to the argument file. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue