@@ -146,7 +146,7 @@ static PyTypeObject* PyFT2Image_init_type()
146146 PyFT2ImageType.tp_name = " matplotlib.ft2font.FT2Image" ;
147147 PyFT2ImageType.tp_basicsize = sizeof (PyFT2Image);
148148 PyFT2ImageType.tp_dealloc = (destructor)PyFT2Image_dealloc;
149- PyFT2ImageType.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE ;
149+ PyFT2ImageType.tp_flags = Py_TPFLAGS_DEFAULT;
150150 PyFT2ImageType.tp_methods = methods;
151151 PyFT2ImageType.tp_new = PyFT2Image_new;
152152 PyFT2ImageType.tp_init = (initproc)PyFT2Image_init;
@@ -236,7 +236,7 @@ static PyTypeObject *PyGlyph_init_type()
236236 PyGlyphType.tp_name = " matplotlib.ft2font.Glyph" ;
237237 PyGlyphType.tp_basicsize = sizeof (PyGlyph);
238238 PyGlyphType.tp_dealloc = (destructor)PyGlyph_dealloc;
239- PyGlyphType.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE ;
239+ PyGlyphType.tp_flags = Py_TPFLAGS_DEFAULT;
240240 PyGlyphType.tp_members = members;
241241 PyGlyphType.tp_getset = getset;
242242
@@ -1495,7 +1495,7 @@ static PyTypeObject *PyFT2Font_init_type()
14951495 PyFT2FontType.tp_doc = PyFT2Font_init__doc__;
14961496 PyFT2FontType.tp_basicsize = sizeof (PyFT2Font);
14971497 PyFT2FontType.tp_dealloc = (destructor)PyFT2Font_dealloc;
1498- PyFT2FontType.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE ;
1498+ PyFT2FontType.tp_flags = Py_TPFLAGS_DEFAULT;
14991499 PyFT2FontType.tp_methods = methods;
15001500 PyFT2FontType.tp_getset = getset;
15011501 PyFT2FontType.tp_new = PyFT2Font_new;
0 commit comments