def __str__(self):
        return 'Step%s%s failed%s' % (
            '' if self.step_num is None else ' %d' % (self.step_num + 1),
            '' if (self.step_num is None or self.num_steps is None) else (
                ' of %d' % self.num_steps),
            '' if self.reason is None else ': %s' % self.reason)
Initialize the item.
dataset/ETHPy150Open Yelp/mrjob/mrjob/step.py/StepFailedException.__str__--crossover with--dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/datagrids/sidebar.py/SidebarNavItem.__init__