def progress(self, p):
        '''
        Update the current progress on the task at the top of the stack.

        :param int p: The current subtask number, between 0 and `size`
            (passed to `start_task`), inclusive.
        '''
        self.task_stack[-1] = self.task_stack[-1]._replace(progress=p)
        self.progress_report()
Update the current progress on the task at the top of the stack.

        :param int p: The current subtask number, between 0 and `size`
            (passed to `start_task`), inclusive.