• Bram Schoenmakers's avatar
    Printer methods must always return a string. · 82f17dc6
    Bram Schoenmakers authored
    There is no need for clients of printers to assume anything about the
    format. In this case, the View class assumed that the printer would
    return a list of strings, and then the view joined those entries. This
    latter step is actually the responsibility of the printer, so move it
    there.
    82f17dc6
PrettyPrinter.py 2.13 KB