diff --git a/pygit2.c b/pygit2.c index ff68f86..4bf7150 100644 --- a/pygit2.c +++ b/pygit2.c @@ -1896,7 +1896,6 @@ initpygit2(void) CommitType.tp_new = PyType_GenericNew; if (PyType_Ready(&CommitType) < 0) return; - TreeEntryType.tp_base = &ObjectType; TreeEntryType.tp_new = PyType_GenericNew; if (PyType_Ready(&TreeEntryType) < 0) return;