From a1585d2cf4fd2e64fc1e43f1c7409b0d90d75381 Mon Sep 17 00:00:00 2001 From: junkmd Date: Mon, 4 Nov 2024 18:27:16 +0900 Subject: [PATCH] poc --- comtypes/_post_coinit/unknwn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comtypes/_post_coinit/unknwn.py b/comtypes/_post_coinit/unknwn.py index 2d94a8f2d..e4c9664a5 100644 --- a/comtypes/_post_coinit/unknwn.py +++ b/comtypes/_post_coinit/unknwn.py @@ -65,7 +65,7 @@ class _cominterface_meta(type): def __new__(cls, name, bases, namespace): methods = namespace.pop("_methods_", None) dispmethods = namespace.pop("_disp_methods_", None) - self = type.__new__(cls, name, bases, namespace) + self = super().__new__(cls, name, bases, namespace) if methods is not None: self._methods_ = methods