MCPcopy Create free account
hub / github.com/LabPy/lantz / __new__

Method __new__

lantz/utils/qt.py:48–53  ·  view source on GitHub ↗
(cls, *args, **kw)

Source from the content-addressed store, hash-verified

46 """
47
48 def __new__(cls, *args, **kw):
49 # We initialize QObject as early as possible. Without this, Qt complains
50 # if SuperQObject is not the first class in the super class list.
51 inst = QtCore.QObject.__new__(cls)
52 QtCore.QObject.__init__(inst)
53 return inst
54
55 def __init__(self, *args, **kw):
56 # Emulate super by calling the next method in the MRO, if there is one.

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected