QObjectCleanupHandler

class PyQt5.QtCore.QObjectCleanupHandler

C++ documentation