I think this was needed in some ancient Python in order to inherit the
buffer methods from `str', but Python 2.5 certainly works fine without.
0, /* @mp_ass_subscript@ */
};
-static PyBufferProcs bytestring_pybuffer;
-
static PyTypeObject bytestring_pytype_skel = {
PyObject_HEAD_INIT(0) 0, /* Header */
"ByteString", /* @tp_name@ */
0, /* @tp_str@ */
0, /* @tp_getattro@ */
0, /* @tp_setattro@ */
- &bytestring_pybuffer, /* @tp_as_buffer@ */
+ 0, /* @tp_as_buffer@ */
Py_TPFLAGS_DEFAULT | /* @tp_flags@ */
Py_TPFLAGS_CHECKTYPES |
Py_TPFLAGS_BASETYPE,