Major interface changes.  PrettyPrinter is now a stream-like class (i.e., you can write to it) with methods for producing special tokens (e.g., conditional newlines and logical block beginnings and ends).  In addition, a new logical block context manager has been added so that you can say:     with pp.logical_block():         ... and the Right Thing will happen.  The interface is modelled on XP's pprint-logical-block.
Major interface changes.  PrettyPrinter is now a stream-like class (i.e.,
you can write to it) with methods for producing special tokens (e.g.,
conditional newlines and logical block beginnings and ends).  In addition,
a new logical block context manager has been added so that you can say:
    with pp.logical_block():
        ...
and the Right Thing will happen.  The interface is modelled on XP's
pprint-logical-block.


git-svn-id: c4f1de67e806799a0b6081d8fd2398ff0c75062b@645 1fe77fbb-760c-0410-9197-9ee16f777b24

plotnick/prettyprinter