2
0
mirror of https://github.com/boostorg/python.git synced 2026-02-02 21:12:15 +00:00

merging current boost/python and libs/python from trunk into release branch

[SVN r72464]
This commit is contained in:
Ralf W. Grosse-Kunstleve
2011-06-07 04:15:33 +00:00
parent faf3cd0b78
commit cfa2baf8c9
4 changed files with 6 additions and 7 deletions

View File

@@ -76,11 +76,11 @@ extern "C"
static int property_init(PyObject *self, PyObject *args, PyObject *kwds)
{
PyObject *get = NULL, *set = NULL, *del = NULL, *doc = NULL;
static char *kwlist[] = {"fget", "fset", "fdel", "doc", 0};
static const char *kwlist[] = {"fget", "fset", "fdel", "doc", 0};
propertyobject *prop = (propertyobject *)self;
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|OOOO:property",
kwlist, &get, &set, &del, &doc))
const_cast<char **>(kwlist), &get, &set, &del, &doc))
return -1;
if (get == Py_None)