commit | 62080bee145c3ba97e239821b0f484629cc203b8 | [log] [tgz] |
---|---|---|
author | Greg Ward <gward@python.net> | Mon Jun 10 21:37:12 2002 +0000 |
committer | Greg Ward <gward@python.net> | Mon Jun 10 21:37:12 2002 +0000 |
tree | f7bb3dfd45801f65b2d9e072a56b582f1e02dfc8 | |
parent | 11ade1ddc053dcec884e2431b55fb1c1727c65d7 [diff] |
Took initial_tab and subsequent_tab away from the fill() method and 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.