def _set_call_pdb(self, val):
    if (val not in (0, 1, False, True)):
        raise ValueError('new call_pdb value must be boolean')
    self._call_pdb = val
    self.InteractiveTB.call_pdb = val
def _set_call_pdb(self, val):
    if (val not in (0, 1, False, True)):
        raise ValueError('new call_pdb value must be boolean')
    self._call_pdb = val
    self.InteractiveTB.call_pdb = val