mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-33029: Fix signatures of getter and setter functions. (GH-10746)
Fix also return type for few other functions (clear, releasebuffer).
This commit is contained in:
parent
1005c84535
commit
d4f9cf5545
25 changed files with 128 additions and 122 deletions
|
@ -2288,7 +2288,7 @@ PyCursesWindow_get_encoding(PyCursesWindowObject *self, void *closure)
|
|||
}
|
||||
|
||||
static int
|
||||
PyCursesWindow_set_encoding(PyCursesWindowObject *self, PyObject *value)
|
||||
PyCursesWindow_set_encoding(PyCursesWindowObject *self, PyObject *value, void *Py_UNUSED(ignored))
|
||||
{
|
||||
PyObject *ascii;
|
||||
char *encoding;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue