code: def finish(self):
          'Puts the ProgressBar bar in the finished state.'
  
          self.finished = True
          self.update(self.maxval)
          self.fd.write('\n')
          if self.signal_set:
              signal.signal(signal.SIGWINCH, signal.SIG_DFLf finish(self):
          'Puts the ProgressBar bar in the finished state.'
  
          self.finished = True
          self.update(self.maxval)
          self.fd.write('\n')
          if self.signal_set:
              signal.signal(signal.SIGWINCH, signal.SIG_DFL)
docs: Puts the ProgressBar bar in the finished state.