This commit is contained in:
Benjamin Peterson 2010-04-04 23:03:22 +00:00
parent 51fd586baa
commit f5e7b3e826
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ PyMember_SetOne(char *addr, PyMemberDef *l, PyObject *v)
} }
break; break;
case T_STRING: case T_STRING:
case T_STRING_INPLACE: case T_STRING_INPLACE:
PyErr_SetString(PyExc_TypeError, "readonly attribute"); PyErr_SetString(PyExc_TypeError, "readonly attribute");
return -1; return -1;
#ifdef HAVE_LONG_LONG #ifdef HAVE_LONG_LONG