diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-03-31 08:25:59 +0000 |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-03-31 08:25:59 +0000 |
commit | c7388039848c599e930620c8f544f18b1ae7187d (patch) | |
tree | 0569f16bc4d086576e4a845bb14792916a400801 /Modules/xxmodule.c | |
parent | 750bbb301975bc327fe5f4fcdf0cc9e1953a56d5 (diff) | |
parent | 3d50f38849cb50ac6366dd38c93d21631e4fc844 (diff) | |
download | cpython-c7388039848c599e930620c8f544f18b1ae7187d.tar.gz |
Issue #22854: Merge UnsupportedOperation fixes from 3.5
Diffstat (limited to 'Modules/xxmodule.c')
-rw-r--r-- | Modules/xxmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/xxmodule.c b/Modules/xxmodule.c index 85230d9c97..076440703f 100644 --- a/Modules/xxmodule.c +++ b/Modules/xxmodule.c @@ -76,7 +76,7 @@ Xxo_getattro(XxoObject *self, PyObject *name) } static int -Xxo_setattr(XxoObject *self, char *name, PyObject *v) +Xxo_setattr(XxoObject *self, const char *name, PyObject *v) { if (self->x_attr == NULL) { self->x_attr = PyDict_New(); |