~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bytestring.c: Delete unused buffer methods on `C.ByteString'.
[catacomb-python]
/
bytestring.c
diff --git
a/bytestring.c
b/bytestring.c
index
f30ca88
..
0a3e14a
100644
(file)
--- a/
bytestring.c
+++ b/
bytestring.c
@@
-310,8
+310,6
@@
static PyMappingMethods bytestring_pymapping = {
0, /* @mp_ass_subscript@ */
};
0, /* @mp_ass_subscript@ */
};
-static PyBufferProcs bytestring_pybuffer;
-
static PyTypeObject bytestring_pytype_skel = {
PyObject_HEAD_INIT(0) 0, /* Header */
"ByteString", /* @tp_name@ */
static PyTypeObject bytestring_pytype_skel = {
PyObject_HEAD_INIT(0) 0, /* Header */
"ByteString", /* @tp_name@ */
@@
-332,7
+330,7
@@
static PyTypeObject bytestring_pytype_skel = {
0, /* @tp_str@ */
0, /* @tp_getattro@ */
0, /* @tp_setattro@ */
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,
Py_TPFLAGS_DEFAULT | /* @tp_flags@ */
Py_TPFLAGS_CHECKTYPES |
Py_TPFLAGS_BASETYPE,