mirror of
https://github.com/python/cpython.git
synced 2025-10-08 08:01:55 +00:00
Issue #25923: Added more const qualifiers to signatures of static and private functions.
This commit is contained in:
parent
2d06e84455
commit
ef1585eb9a
60 changed files with 210 additions and 191 deletions
|
@ -265,7 +265,7 @@ insert_head(PyWeakReference *newref, PyWeakReference **list)
|
|||
}
|
||||
|
||||
static int
|
||||
parse_weakref_init_args(char *funcname, PyObject *args, PyObject *kwargs,
|
||||
parse_weakref_init_args(const char *funcname, PyObject *args, PyObject *kwargs,
|
||||
PyObject **obp, PyObject **callbackp)
|
||||
{
|
||||
/* XXX Should check that kwargs == NULL or is empty. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue