From 154de5aab5bc5c2b131c19e29c33daef8e70e76d Mon Sep 17 00:00:00 2001 From: ahgamut <41098605+ahgamut@users.noreply.github.com> Date: Sun, 15 May 2022 23:45:55 +0530 Subject: [PATCH] SourcelessFileLoader needn't be a full object --- third_party/python/Python/import.c | 1 - 1 file changed, 1 deletion(-) diff --git a/third_party/python/Python/import.c b/third_party/python/Python/import.c index 5534cec2b..e62c24aa8 100644 --- a/third_party/python/Python/import.c +++ b/third_party/python/Python/import.c @@ -2602,7 +2602,6 @@ static PyTypeObject SourcelessFileLoaderType = { * to be portable to Windows without using C++. */ PyVarObject_HEAD_INIT(NULL, 0).tp_name = "_imp.SourcelessFileLoader", /*tp_name*/ - .tp_base = &PyBaseObject_Type, /*tp_base*/ .tp_basicsize = sizeof(SourcelessFileLoader), /*tp_basicsize*/ .tp_dealloc = (destructor)SFLObject_dealloc, /*tp_dealloc*/ .tp_hash = (hashfunc)SFLObject_hash, /*tp_hash*/