Skip to content

Commit 422a515

Browse files
koxudaxilysnikolaou
authored andcommitted
Remove unnecessary _Py_TPFLAGS_MATCH_SELF from Template type (python#60)
1 parent f3ba0fe commit 422a515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/templateobject.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ PyTypeObject _PyTemplate_Type = {
442442
.tp_doc = PyDoc_STR("Template object"),
443443
.tp_basicsize = sizeof(templateobject),
444444
.tp_itemsize = 0,
445-
.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | _Py_TPFLAGS_MATCH_SELF,
445+
.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
446446
.tp_as_sequence = &template_as_sequence,
447447
.tp_new = (newfunc) template_new,
448448
.tp_dealloc = (destructor) template_dealloc,

0 commit comments

Comments
 (0)