• Greg Ward's avatar
    Took initial_tab and subsequent_tab away from the fill() method and · dd8f6079
    Greg Ward authored
    transformed them into the initial_indent and subsequent_indent instance
    attributes.  Now they actually work as advertised, ie. they are
    accounted for in the width of each output line.  Plus you can use them
    with wrap() as well as fill(), and fill() went from simple-and-broken to
    trivial-and-working.
    dd8f6079
textwrap.py 10.1 KB