commit | d34c959140a4563c644ed4eaca2c489d8f1577b5 | [log] [tgz] |
---|---|---|
author | Greg Ward <gward@python.net> | Mon Jun 10 20:26:02 2002 +0000 |
committer | Greg Ward <gward@python.net> | Mon Jun 10 20:26:02 2002 +0000 |
tree | c294ae4e932bac349291b4234fc87850e071b31c | |
parent | 4f7829e185db9250349917a27be557721b1752ed [diff] |
Make 'width' an instance attribute rather than an argument to the wrap() and fill() methods. Keep interface of existing wrap() and fill() functions by going back to having them construct a new TextWrapper instance on each call, with the preferred width passed to the constructor.