docs: def _print(self):
          """
          Prints the todos in the right format.
  
          Defaults to normal text output (with possible colors and other pretty
          printing). If a format was specified on the commandline, this format is
          sent to the output.
          """
          if self.printer is None:
              # create a standard printer with some filters
              indent = config().list_indent()
              final_format = ' ' * indent + self.format
  
              filters = []
              filters.append(PrettyPrinterFormatFilter(self.todolist, final_format))
  
              self.printer = pretty_printer_factory(self.todolist, filters)
  
          try:
              if self.group_expression:
                  self.out(self.printer.print_groups(self._view().groups))
              else:
                  self.out(self.printer.print_list(self._view().todos))
          except ListFormatError:
              self.error('Error while parsing format string (list_format config'
                         ' option or -F)')