mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +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
|
|
@ -61,7 +61,7 @@ Example_getattro(ExampleObject *self, PyObject *name)
|
|||
}
|
||||
|
||||
static int
|
||||
Example_setattr(ExampleObject *self, char *name, PyObject *v)
|
||||
Example_setattr(ExampleObject *self, const char *name, PyObject *v)
|
||||
{
|
||||
if (self->x_attr == NULL) {
|
||||
self->x_attr = PyDict_New();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue