浏览代码

Update typeinfo.c

blueloveTH 9 月之前
父节点
当前提交
85885f414f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/interpreter/typeinfo.c

+ 1 - 0
src/interpreter/typeinfo.c

@@ -84,6 +84,7 @@ static void py_TypeInfo__common_init(py_Name name,
     self->getattribute = NULL;
     self->setattribute = NULL;
     self->delattribute = NULL;
+    self->getunboundmethod = NULL;
 
     self->annotations = *py_NIL();
     self->dtor = dtor;