

def child_removed(self, child):
    ' Handle the child removed event for a QtNotebook.\n\n        '
    super(QtNotebook, self).child_removed(child)
    if isinstance(child, QtPage):
        self.widget.removePage(self.widget)

dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_notebook.py QtNotebook.child_removed/VarMisuse@42/73 `child`->`self`