Do PyQt classes in开发者_如何学Goherit from object?
>>> from PyQt4 import QtCore
>>> QtCore.QObject.__mro__
(<class 'PyQt4.QtCore.QObject'>, <type 'sip.wrapper'>, <type 'sip.simplewrapper'>, <type 'object'>)
So the answer is yes (at least QObject
does, but I assume non-descendants of QObject
do, too).
精彩评论