开发者

Do PyQt classes inherit from object?

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).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜