mirror of
https://github.com/python/cpython.git
synced 2025-10-06 23:21:06 +00:00
Removed redundant casts to char *
.
Corresponding functions now accept `const char *` (issue #1772673).
This commit is contained in:
parent
131caba074
commit
20b39b27d9
10 changed files with 17 additions and 18 deletions
|
@ -2675,7 +2675,7 @@ PyCurses_KeyName(PyObject *self, PyObject *args)
|
|||
}
|
||||
knp = keyname(ch);
|
||||
|
||||
return PyBytes_FromString((knp == NULL) ? "" : (char *)knp);
|
||||
return PyBytes_FromString((knp == NULL) ? "" : knp);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue